summaryrefslogtreecommitdiff
path: root/openwrt/target/default/target_skeleton/etc/firewall.user
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-03 19:42:49 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-03 19:42:49 +0000
commit29717925ff71d3da43405997241e02f39fb62d69 (patch)
treeef51536a3be8b7ccec3a7b6d1793ff0f34aa9f00 /openwrt/target/default/target_skeleton/etc/firewall.user
parent651212067733fbe278ea227f84b5180fd0deded9 (diff)
fix clearing of prerouting_rule and postrouting_rule in firewall.user
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1327 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/default/target_skeleton/etc/firewall.user')
-rwxr-xr-xopenwrt/target/default/target_skeleton/etc/firewall.user4
1 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/target/default/target_skeleton/etc/firewall.user b/openwrt/target/default/target_skeleton/etc/firewall.user
index 2ba6b4e839..1781bd4ea0 100755
--- a/openwrt/target/default/target_skeleton/etc/firewall.user
+++ b/openwrt/target/default/target_skeleton/etc/firewall.user
@@ -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;