summaryrefslogtreecommitdiff
path: root/config/obr/pf.conf
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-10-19 14:23:13 +0200
committerGitHub <noreply@github.com>2017-10-19 14:23:13 +0200
commit1e30c6fa62f8a083cc27ab463c310e87fc09e3a2 (patch)
treec9579164fd89604d8d313fd3b5d074bebf3c2165 /config/obr/pf.conf
parentc3736445d02c7fd6562d05bc6079eba85ee508f9 (diff)
parent5247a4900bb79588094f9422833217ba78c3abc1 (diff)
downloadOpenBSD-firewall-1e30c6fa62f8a083cc27ab463c310e87fc09e3a2.tar.gz
OpenBSD-firewall-1e30c6fa62f8a083cc27ab463c310e87fc09e3a2.tar.bz2
Merge pull request #3 from andreasbaumann/master
upgrade to OpenBSD 6.2
Diffstat (limited to 'config/obr/pf.conf')
-rw-r--r--config/obr/pf.conf8
1 files changed, 5 insertions, 3 deletions
diff --git a/config/obr/pf.conf b/config/obr/pf.conf
index d29aa8a..f60828c 100644
--- a/config/obr/pf.conf
+++ b/config/obr/pf.conf
@@ -85,10 +85,10 @@ pass on $WLAN_if all
# relayd and bruteforce attack scrubbing
pass in on $ext_if proto tcp from any to port 80
-pass in on $ext_if proto tcp from any to port 443
# reroute public services to their machines in the LAN
pass in on $ext_if proto tcp from any to port 25 rdr-to $euroweb
+pass in on $ext_if proto tcp from any to port 443 rdr-to $euroweb
pass in on $ext_if proto tcp from any to port 587 rdr-to $euroweb
pass in on $ext_if proto tcp from any to port 110 rdr-to $euroweb
pass in on $ext_if proto tcp from any to port 143 rdr-to $euroweb
@@ -97,14 +97,16 @@ pass in on $ext_if proto tcp from any to port 995 rdr-to $euroweb
pass in on $ext_if proto tcp from any to port 9418 rdr-to $euroweb
anchor "ftp-proxy/*"
pass in on $ext_if inet proto tcp to port 21 divert-to 127.0.0.1 port 8021
-pass out on $int_if inet proto tcp to $eurodata port 21 user proxy
+pass out on $int_if inet proto tcp to $eurodata port 21 user _ftp_proxy
pass in on $ext_if inet proto tcp to port 2121 divert-to 127.0.0.1 port 8022
-pass out on $int_if inet proto tcp to $eurobuild3 port 2121 user proxy
+pass out on $int_if inet proto tcp to $eurobuild3 port 2121 user _ftp_proxy
pass in on $ext_if proto tcp from any to port 2221 rdr-to $euroweb port 22
+pass in on $ext_if proto tcp from any to port 2222 rdr-to $eurodata port 22
pass in on $ext_if proto tcp from any to port 2223 rdr-to $eurobuild3 port 22
pass in on $ext_if proto tcp from any to port 2224 rdr-to $eurobuild4 port 22
pass in on $ext_if proto tcp from any to port 2225 rdr-to $eurobuild5 port 22
pass in on $ext_if proto tcp from any to port 5900:5999 rdr-to $eurobuild3
pass in on $ext_if proto tcp from any to port 6881:6889 rdr-to $eurobuild3
+pass in on $ext_if proto tcp from any to port 9981:9982 rdr-to $eurobuild3
pass in on $ext_if proto tcp from any to port 6001 rdr-to $europa1 port 6000
pass in on $ext_if proto tcp from any to port 9372 rdr-to $eeepc port 9372