iptables -A INPUT -j input_rule
# 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 gre -j ACCEPT # allow GRE