chiark / gitweb /
vampire.m4: Extend services to untrusted hosts over IPv6.
[firewall] / vampire.m4
index fa79ee213875bc78fb07ecfd5a02255fea525b49..b3257c77af634c465708abf8a4e3b1e9fa5a2dbd 100644 (file)
@@ -47,8 +47,8 @@ allowservices inbound udp \
 
 ## Extend some services to local untrusted hosts.
 clearchain inbound-untrusted
-run iptables -A inbound -j inbound-untrusted \
-       -s 172.29.198.0/24
+run iptables -A inbound -j inbound-untrusted -s $net_inet_untrusted
+run ip6tables -A inbound -j inbound-untrusted -s $net_inet6_untrusted
 
 allowservices inbound-untrusted tcp \
        dns \