radius.m4: Forbid traffic directly to the NAT address.
[firewall] / radius.m4
index 7f0dc2c..e543878 100644 (file)
--- a/radius.m4
+++ b/radius.m4
@@ -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 --------------------------------------------------