summaryrefslogtreecommitdiff
path: root/package/iptables/files/firewall.conf
diff options
context:
space:
mode:
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