mirror of https://github.com/hak5/openwrt.git
parent
bd14e7766b
commit
e7e81657c7
|
@ -34,7 +34,7 @@ iptables -t nat -N postrouting_rule
|
||||||
iptables -A INPUT -j input_rule
|
iptables -A INPUT -j input_rule
|
||||||
|
|
||||||
# allow
|
# allow
|
||||||
iptables -A INPUT ${WAN:+-i \! $WAN} -j ACCEPT # allow from all interfaces except for wan
|
iptables -A INPUT ${WAN:+\! -i $WAN} -j ACCEPT # allow from all interfaces except for wan
|
||||||
iptables -A INPUT -p icmp -j ACCEPT # allow ICMP
|
iptables -A INPUT -p icmp -j ACCEPT # allow ICMP
|
||||||
iptables -A INPUT -p gre -j ACCEPT # allow GRE
|
iptables -A INPUT -p gre -j ACCEPT # allow GRE
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue