projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd14e77
)
fix stupid typo in firewall init script
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 2 May 2006 20:16:26 +0000
(20:16 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 2 May 2006 20:16:26 +0000
(20:16 +0000)
SVN-Revision: 3724
openwrt/package/iptables/files/firewall.init
patch
|
blob
|
history
diff --git
a/openwrt/package/iptables/files/firewall.init
b/openwrt/package/iptables/files/firewall.init
index a7cde95b5fd37862a799a2b8217b5568bb97226f..ad014cbaa381c06efcc0b02b4032e4b28e8fd1fa 100755
(executable)
--- 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