projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4de322b
)
fix clearing of prerouting_rule and postrouting_rule in firewall.user
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 3 Jul 2005 19:42:49 +0000
(19:42 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 3 Jul 2005 19:42:49 +0000
(19:42 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1327
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
target/default/target_skeleton/etc/firewall.user
patch
|
blob
|
history
diff --git
a/target/default/target_skeleton/etc/firewall.user
b/target/default/target_skeleton/etc/firewall.user
index
2ba6b4e
..
1781bd4
100755
(executable)
--- 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;