summaryrefslogtreecommitdiff
path: root/package/iptables/files/firewall.conf
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-01-04 23:22:23 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-04 23:22:23 +0100
commit49af3d669f8345ef3ca3e1e14cdd4030cbbbb6e0 (patch)
tree1f8f5b4cdb4265e5428a2a77f2762706ae1247ca /package/iptables/files/firewall.conf
parente6d7923746537504a5e19b5c9aa050a1836048b6 (diff)
parent26d8c7c5138770572fc92bea028d9a8a067fe3c9 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/iptables/files/firewall.conf')
-rw-r--r--package/iptables/files/firewall.conf6
1 files changed, 2 insertions, 4 deletions
diff --git a/package/iptables/files/firewall.conf b/package/iptables/files/firewall.conf
index bc9a39c41..2c8faaa34 100644
--- a/package/iptables/files/firewall.conf
+++ b/package/iptables/files/firewall.conf
@@ -1,13 +1,11 @@
#!/bin/sh
-
-
echo "configure /etc/firewall.conf first."
exit 1
### Interfaces
WAN=ppp0
LAN=br0
-WLAN=
+WLAN=wlan0
######################################################################
### Default ruleset
@@ -29,7 +27,7 @@ iptables -P FORWARD DROP
# base case
iptables -A INPUT -m state --state INVALID -j DROP
iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-iptables -A INPUT -p tcp --tcp-flags SYN SYN --tcp-option \! 2 -j DROP
+iptables -A INPUT -p tcp --tcp-flags SYN SYN \! --tcp-option 2 -j DROP
# custom rules
iptables -A INPUT -j input_rule