From: Felix Fietkau Date: Thu, 9 Nov 2006 23:13:15 +0000 (+0000) Subject: replace br0 with $LAN X-Git-Tag: reboot~30487 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=223fdb04439ba9bccad67f2d3016067ded2a50e8 replace br0 with $LAN SVN-Revision: 5492 --- 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)