summaryrefslogtreecommitdiff
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
commit223fdb04439ba9bccad67f2d3016067ded2a50e8 (patch)
tree6011607b7e049554b4c9f3b30e9b529da77e0d02 /package/iptables
parent5808fe52a4738b5a2cf79c7c84b9dbf98d14666d (diff)
downloadmtk-20170518-223fdb04439ba9bccad67f2d3016067ded2a50e8.zip
mtk-20170518-223fdb04439ba9bccad67f2d3016067ded2a50e8.tar.gz
mtk-20170518-223fdb04439ba9bccad67f2d3016067ded2a50e8.tar.bz2
replace br0 with $LAN
SVN-Revision: 5492
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 04b37bd..6f1ba8b 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)