diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-11-09 23:13:15 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-11-09 23:13:15 +0000 |
commit | 437fe46ff7115ce9489e3a6bc7c340cbbcc90d8b (patch) | |
tree | d459966554075355b62b936ba68657f3fd5a3fa7 /package/iptables | |
parent | ac49f2ad3ecb79a6c8d6a2464c596799fa31de18 (diff) | |
download | upstream-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-x | package/iptables/files/firewall.init | 2 |
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) |