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:
ac49f2a
)
replace br0 with $LAN
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 9 Nov 2006 23:13:15 +0000
(23:13 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 9 Nov 2006 23:13:15 +0000
(23:13 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5492
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/iptables/files/firewall.init
patch
|
blob
|
history
diff --git
a/package/iptables/files/firewall.init
b/package/iptables/files/firewall.init
index
04b37bd
..
6f1ba8b
100755
(executable)
--- a/
package/iptables/files/firewall.init
+++ b/
package/iptables/files/firewall.init
@@
-87,7
+87,7
@@
start() {
iptables -A FORWARD -j forwarding_rule
# allow
- iptables -A FORWARD -i
br0 -o br0
-j ACCEPT
+ iptables -A FORWARD -i
$LAN -o $LAN
-j ACCEPT
[ -z "$WAN" ] || iptables -A FORWARD -i $LAN -o $WAN -j ACCEPT
# reject (what to do with anything not allowed earlier)