X-Git-Url: https://git.distorted.org.uk/~mdw/firewall/blobdiff_plain/295959eafba277994e9f87ff212bc80fe98f78ea..599e123ad47ff30d11eb91fd74262b5cf90d3257:/fender.m4 diff --git a/fender.m4 b/fender.m4 index 00375a2..77a08fe 100644 --- a/fender.m4 +++ b/fender.m4 @@ -34,15 +34,8 @@ allowservices inbound tcp \ ntpclient inbound $ntp_servers ## Provide NTP service to untrusted clients. -iptables -A inbound -p udp -j ACCEPT \ - --source-port 123 --destination-port 123 \ - -s 172.29.198.0/23 -ip6tables -A inbound -p udp -j ACCEPT \ - --source-port 123 --destination-port 123 \ - -s 2001:ba8:1d9::/48 -ip6tables -A inbound -p udp -j ACCEPT \ - --source-port 123 --destination-port 123 \ - -s 2001:8b0:c92::/48 +run ip46tables -A inbound-untrusted -p udp -j ACCEPT \ + --source-port 123 --destination-port 123 ## Guaranteed black hole. Put this at the very front of the chain. run iptables -I INPUT -d 212.13.198.78 -j DROP