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 | acaf1abbe4ec67b0ae02663c8dec8cecd5a445af (patch) | |
tree | ef51536a3be8b7ccec3a7b6d1793ff0f34aa9f00 /openwrt/target/default/target_skeleton | |
parent | bdd3e06120a90997583ce9844ebedf966f1bbb28 (diff) | |
download | mtk-20170518-acaf1abbe4ec67b0ae02663c8dec8cecd5a445af.zip mtk-20170518-acaf1abbe4ec67b0ae02663c8dec8cecd5a445af.tar.gz mtk-20170518-acaf1abbe4ec67b0ae02663c8dec8cecd5a445af.tar.bz2 |
fix clearing of prerouting_rule and postrouting_rule in firewall.user
SVN-Revision: 1327
Diffstat (limited to 'openwrt/target/default/target_skeleton')
-rwxr-xr-x | openwrt/target/default/target_skeleton/etc/firewall.user | 4 |
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 2ba6b4e..1781bd4 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; |