summaryrefslogtreecommitdiff
path: root/config/obr/relayd.conf
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-04-15 14:16:43 +0200
committerGitHub <noreply@github.com>2018-04-15 14:16:43 +0200
commit645c7bc017b4e1634f18e378eda37c6529bc7477 (patch)
tree043d4d2a91008cb9456c03cb9e293dc2424df956 /config/obr/relayd.conf
parentc17f89bfbba9feb0bc5141562e10d9607af6d02a (diff)
parent077b2d08c2783349674631eed4ef3c51e1ef39b9 (diff)
downloadOpenBSD-firewall-645c7bc017b4e1634f18e378eda37c6529bc7477.tar.gz
OpenBSD-firewall-645c7bc017b4e1634f18e378eda37c6529bc7477.tar.bz2
Merge pull request #4 from andreasbaumann/master
updated to OpenBSD 6.3
Diffstat (limited to 'config/obr/relayd.conf')
-rw-r--r--config/obr/relayd.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/obr/relayd.conf b/config/obr/relayd.conf
index 6be42f6..ba52e74 100644
--- a/config/obr/relayd.conf
+++ b/config/obr/relayd.conf
@@ -10,6 +10,7 @@ EXT_IF = 83.150.2.48
table <euroweb> { euroweb.lan }
table <euroserver> { euroserver.lan }
+table <eurobuild3> { eurobuild3.lan }
http protocol "http_protocol" {
@@ -45,6 +46,8 @@ 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 "archlinux32.andreasbaumann.cc" \
+ forward to <eurobuild3> no tag
block request tagged disallowed_host label "BAD host"
}
@@ -55,5 +58,6 @@ relay http_relay {
forward to <euroweb> port 80
forward to <euroserver> port 80
+ forward to <eurobuild3> port 80
}