diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-01-04 23:18:14 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-01-04 23:18:14 +0100 |
commit | 3f23dcd7a5f06f8cdda0ee8b1492cfd0b6c1413f (patch) | |
tree | 4fdbb680f08b893084e78719a574d1a19b7b26de /package/iptables/files | |
parent | 6c7111529ca4f24aa848de5c60cecfb01e3717fc (diff) |
fix default firewall script and kernel mod dependencies
Diffstat (limited to 'package/iptables/files')
-rw-r--r-- | package/iptables/files/firewall.conf | 6 |
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 |