X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/82c65f87984c8ce099445a6342d95a3f5198a73c..91ab93d31346fe42e34786775a90bd15d17de997:/openwrt/package/iptables/files/firewall.init?ds=sidebyside 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