X-Git-Url: https://git.distorted.org.uk/~mdw/firewall/blobdiff_plain/18b341c2f12a4a504a2960457a22690cf781623d..f967aa213004eec666fcaca562c1681e143135cf:/radius.m4 diff --git a/radius.m4 b/radius.m4 index 7f0dc2c..978a877 100644 --- a/radius.m4 +++ b/radius.m4 @@ -24,7 +24,7 @@ ###-------------------------------------------------------------------------- ### radius-specific rules. -m4_divert(84)m4_dnl +m4_divert(86)m4_dnl ## Externally visible services. allowservices inbound tcp \ ident \ @@ -69,5 +69,8 @@ run iptables -t nat -A outbound -j RETURN -d 172.29.198.0/23 run iptables -t nat -A outbound -j SNAT --to-source 62.49.204.158 run iptables -t nat -A POSTROUTING -j outbound +## Forbid anything complicated to the NAT address. +run iptables -A INPUT -d 62.49.204.158 ! -p icmp -j REJECT + m4_divert(-1) ###----- That's all, folks --------------------------------------------------