X-Git-Url: https://git.distorted.org.uk/~mdw/firewall/blobdiff_plain/1b534b6a971639a492666b35145b247e4f4a94a9..15e9eeffacf76820fe2ba0176030ac2b5b6560ea:/local.m4 diff --git a/local.m4 b/local.m4 index b5cee43..45bdfac 100644 --- a/local.m4 +++ b/local.m4 @@ -190,7 +190,7 @@ defhost groove defhost gibson hosttype client - iface eth0 unsafe + iface eth0.5 unsafe ## Colocated networks. defnet jump trusted @@ -225,8 +225,6 @@ defhost telecaster defhost stratocaster iface eth0 jump colo iface eth1 jump colo -defhost jaguar - iface eth0 jump defhost jazz hosttype router iface eth0 jump colo vpn @@ -370,10 +368,11 @@ openports inbound ## Inspect inbound packets from untrusted sources. run ip46tables -A inbound -j 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 ## Allow responses from the scary outside world into the untrusted net, but -## don't let untrusted things run services. [EXPERIMENTAL] +## don't let untrusted things run services. case $forward in 1) run ip46tables -A FORWARD -j ACCEPT \