mango.m4: Tighten up the SNAT rules.
[firewall] / mango.m4
index e0bcece..7c506f9 100644 (file)
--- a/mango.m4
+++ b/mango.m4
@@ -46,7 +46,7 @@ run iptables -t nat -F
 run iptables -t nat -X
 
 run iptables -t nat -A POSTROUTING -j SNAT --to-source 10.165.27.3 \
-       -o eth0 -s 172.29.198.0/23
+       -s 172.29.198.0/23 -d 10.165.27.0/24 -o eth0
 
 m4_divert(-1)
 ###----- That's all, folks --------------------------------------------------