diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-07-03 19:42:49 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-07-03 19:42:49 +0000 |
commit | 81982836b011624f0bb8929b44540da9bb5e1eee (patch) | |
tree | 9f5b97f3da5262f20dd8cae58522cbedfaa85857 | |
parent | 4de322b01a2525c4242235ea506646c1c67d0e02 (diff) | |
download | upstream-81982836b011624f0bb8929b44540da9bb5e1eee.tar.gz upstream-81982836b011624f0bb8929b44540da9bb5e1eee.tar.bz2 upstream-81982836b011624f0bb8929b44540da9bb5e1eee.zip |
fix clearing of prerouting_rule and postrouting_rule in firewall.user
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1327 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | target/default/target_skeleton/etc/firewall.user | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/default/target_skeleton/etc/firewall.user b/target/default/target_skeleton/etc/firewall.user index 2ba6b4e839..1781bd4ea0 100755 --- a/target/default/target_skeleton/etc/firewall.user +++ b/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; |