aboutsummaryrefslogtreecommitdiffstats
path: root/package/iptables
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-11-09 23:13:15 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-11-09 23:13:15 +0000
commit437fe46ff7115ce9489e3a6bc7c340cbbcc90d8b (patch)
treed459966554075355b62b936ba68657f3fd5a3fa7 /package/iptables
parentac49f2ad3ecb79a6c8d6a2464c596799fa31de18 (diff)
downloadupstream-437fe46ff7115ce9489e3a6bc7c340cbbcc90d8b.tar.gz
upstream-437fe46ff7115ce9489e3a6bc7c340cbbcc90d8b.tar.bz2
upstream-437fe46ff7115ce9489e3a6bc7c340cbbcc90d8b.zip
replace br0 with $LAN
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5492 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iptables')
-rwxr-xr-xpackage/iptables/files/firewall.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/iptables/files/firewall.init b/package/iptables/files/firewall.init
index 04b37bdc4c..6f1ba8b156 100755
--- 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)