mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-31 00:24:12 +00:00
replace br0 with $LAN
SVN-Revision: 5492
This commit is contained in:
parent
5808fe52a4
commit
223fdb0443
@ -87,7 +87,7 @@ start() {
|
|||||||
iptables -A FORWARD -j forwarding_rule
|
iptables -A FORWARD -j forwarding_rule
|
||||||
|
|
||||||
# allow
|
# 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
|
[ -z "$WAN" ] || iptables -A FORWARD -i $LAN -o $WAN -j ACCEPT
|
||||||
|
|
||||||
# reject (what to do with anything not allowed earlier)
|
# reject (what to do with anything not allowed earlier)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user