diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-11-09 23:13:15 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-11-09 23:13:15 +0000 |
commit | 98a5f85b8caa7f2e067b41e3d1f86ff062921ee7 (patch) | |
tree | d459966554075355b62b936ba68657f3fd5a3fa7 /package/iptables/files | |
parent | 23b9420c5594800bfcd88d47f9a7d6581857ac5a (diff) |
replace br0 with $LAN
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5492 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iptables/files')
-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) |