X-Git-Url: https://git.distorted.org.uk/~mdw/firewall/blobdiff_plain/d8e50664d13e3ad4818841f514970380e4e78e55..994ac8d0782c89a636f47b02a2dc096c72ff58c5:/local.m4 diff --git a/local.m4 b/local.m4 index 351b9b2..c16f94e 100644 --- a/local.m4 +++ b/local.m4 @@ -54,6 +54,7 @@ m4_divert(-1) ## 172.29.198.0/24 Untrusted networks. ## .0/25 house wireless net ## .128/28 iodine (IP-over-DNS) network +## .144/28 hippotat (IP-over-HTTP) network ## .160/27 untrusted virtual network ## ## 172.29.199.0/24 Trusted networks. @@ -206,6 +207,9 @@ defnet colobdry virtual defnet iodine untrusted addr 172.29.198.128/28 via colohub +defnet hippotat untrusted + addr 172.29.198.144/28 + via colohub ## Colocated hosts. defhost fender @@ -231,6 +235,7 @@ defhost jazz iface eth0 jump colo vpn iface eth1 jump colo vpn iface dns0 iodine + iface hippo-svc hippotat iface vpn-+ vpn ## Other networks. @@ -377,7 +382,7 @@ m4_divert(88)m4_dnl openports inbound ## Inspect inbound packets from untrusted sources. -run ip46tables -A inbound -j forbidden +run ip46tables -A inbound -g forbidden run ip46tables -A INPUT -m mark --mark $from_scary/$MASK_FROM -g inbound run ip46tables -A INPUT -m mark --mark $from_untrusted/$MASK_FROM -g inbound