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:
cd45576
)
oops... committed the wrong change on the last commit
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 3 May 2006 13:06:11 +0000
(13:06 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 3 May 2006 13:06:11 +0000
(13:06 +0000)
SVN-Revision: 3725
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 3b67517216a9df1a23c28131d2349c28262f46e7..0a7daab31900b72f182385a480b3180bd5e4d8d3 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
-i ${WAN:+\! -i $WAN} -j ACCEPT
# allow from lan/wifi interfaces
+ iptables -A INPUT
${WAN:+\! -i $WAN} -j ACCEPT
# allow from lan/wifi interfaces
iptables -A INPUT -p icmp -j ACCEPT # allow ICMP
iptables -A INPUT -p gre -j ACCEPT # allow GRE