fix clearing of prerouting_rule and postrouting_rule in firewall.user
[openwrt/staging/dedeckeh.git] / openwrt / target / default / target_skeleton / etc / firewall.user
index 2ba6b4e83977b2c4209a899201bd7b3d74cb5b54..1781bd4ea04fd483790198490e55adbbf1f80dbf 100755 (executable)
@@ -7,8 +7,8 @@ LAN=$(nvram get lan_ifname)
 iptables -F input_rule
 iptables -F output_rule
 iptables -F forwarding_rule
-iptables -F prerouting_rule
-iptables -F postrouting_rule
+iptables -t nat -F prerouting_rule
+iptables -t nat -F postrouting_rule
 
 ### BIG FAT DISCLAIMER
 ### The "-i $WAN" literally means packets that came in over the $WAN interface;