mirror of
https://github.com/openwrt/openwrt.git
synced 2025-12-28 12:10:02 +04:00
replace br0 with $LAN
SVN-Revision: 5492
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user