diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-10-11 09:56:26 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-10-11 09:56:26 +0200 |
commit | 2736fabda01f132c87fd1fc6300b888c4fe7835a (patch) | |
tree | 95d27fb713d61a9fb5d64359dd0dbfa6a76e44fa /config | |
parent | ae3fe4d7c9e1eea6099d70bcc20dea3748d8be0a (diff) | |
download | OpenBSD-firewall-2736fabda01f132c87fd1fc6300b888c4fe7835a.tar.gz OpenBSD-firewall-2736fabda01f132c87fd1fc6300b888c4fe7835a.tar.bz2 |
updated personal firewall confiugration
Diffstat (limited to 'config')
-rw-r--r-- | config/obr/nsd-internal/zones/andreasbaumann.cc | 4 | ||||
-rw-r--r-- | config/obr/pf.conf | 3 | ||||
-rw-r--r-- | config/obr/relayd.conf | 6 |
3 files changed, 8 insertions, 5 deletions
diff --git a/config/obr/nsd-internal/zones/andreasbaumann.cc b/config/obr/nsd-internal/zones/andreasbaumann.cc index ed4ebac..22e8702 100644 --- a/config/obr/nsd-internal/zones/andreasbaumann.cc +++ b/config/obr/nsd-internal/zones/andreasbaumann.cc @@ -3,7 +3,7 @@ $TTL 60 @ IN SOA ns.andreasbaumann.cc. root.andreasbaumann.cc. ( - 2017121600 ; serial + 2018101100 ; serial 3h ; refresh 15m ; retry 2w ; expire @@ -31,7 +31,7 @@ www A 192.168.1.15 git A 192.168.1.15 devel A 192.168.1.12 mon A 192.168.1.16 -archlinux32 A 192.168.1.12 +archlinux32 A 192.168.1.15 ; hosted at godaddy backup A 192.186.235.194 diff --git a/config/obr/pf.conf b/config/obr/pf.conf index 77c1040..5e9e414 100644 --- a/config/obr/pf.conf +++ b/config/obr/pf.conf @@ -22,6 +22,7 @@ euroserver = 192.168.1.16 eurobuild3 = 192.168.1.12 eurobuild4 = 192.168.1.18 eurobuild5 = 192.168.1.21 +euroweb2 = 192.168.1.22 eurodata = 192.168.1.9 euroweb = 192.168.1.15 euromac = 192.168.1.20 @@ -112,10 +113,12 @@ 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 2226 rdr-to $euromac port 22 +pass in on $ext_if proto tcp from any to port 2227 rdr-to $euroweb2 port 22 pass in on $ext_if proto tcp from any to port 5999 rdr-to $euromac port 5900 pass in on $ext_if proto tcp from any to port 5900:5998 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 8080 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 pass in on $ext_if proto udp from any to port 5000:5100 rdr-to $eeepc diff --git a/config/obr/relayd.conf b/config/obr/relayd.conf index ef8339f..c4a8eb4 100644 --- a/config/obr/relayd.conf +++ b/config/obr/relayd.conf @@ -10,7 +10,6 @@ EXT_IF = 83.150.2.48 table <euroweb> { euroweb.lan } table <euroserver> { euroserver.lan } -table <eurobuild3> { eurobuild3.lan } http protocol "http_protocol" { @@ -46,8 +45,10 @@ http protocol "http_protocol" { forward to <euroweb> no tag match request quick header "Host" value "mon.andreasbaumann.cc" \ forward to <euroserver> no tag + match request quick header "Host" value "imap.andreasbaumann.cc" \ + forward to <euroweb> no tag match request quick header "Host" value "archlinux32.andreasbaumann.cc" \ - forward to <eurobuild3> no tag + forward to <euroweb> no tag match request quick header "Host" value "www.pgfuse.org" \ forward to <euroweb> no tag match request quick header "Host" value "pgfuse.org" \ @@ -66,6 +67,5 @@ relay http_relay { forward to <euroweb> port 80 forward to <euroserver> port 80 - forward to <eurobuild3> port 80 } |