X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/82c65f87984c8ce099445a6342d95a3f5198a73c..45c7419a4f7a4436c27ffd62b1a05724c4ce6357:/openwrt/package/iptables/files/firewall.init diff --git a/openwrt/package/iptables/files/firewall.init b/openwrt/package/iptables/files/firewall.init index a7cde95b5..ad014cbaa 100755 --- a/openwrt/package/iptables/files/firewall.init +++ b/openwrt/package/iptables/files/firewall.init @@ -34,7 +34,7 @@ iptables -t nat -N postrouting_rule 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