mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08: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
|
||||
|
||||
# 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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user