X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ac329a6a7ec73bc191d17cd0dbb1c34cf570e879..d55ff237aa21be0cc267fd5de6d835be0510b8e2:/package/iptables/files/firewall.init diff --git a/package/iptables/files/firewall.init b/package/iptables/files/firewall.init index 04b37bdc4..6f1ba8b15 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)