mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
replace br0 with $LAN
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5492 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ac49f2ad3e
commit
437fe46ff7
@ -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