mirror of https://github.com/hak5/openwrt-owl.git
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…
Reference in New Issue