summaryrefslogtreecommitdiffstats
path: root/firewall
diff options
context:
space:
mode:
Diffstat (limited to 'firewall')
-rwxr-xr-xfirewall2
1 files changed, 1 insertions, 1 deletions
diff --git a/firewall b/firewall
index 0935e63..2840038 100755
--- a/firewall
+++ b/firewall
@@ -169,7 +169,7 @@ start()
if [ $LAN == 1 ]; then
echo "+ Allow WAN outgoing traffic from lan"
- $IPTABLES -A FORWARD -i $LAN_INT -o $WAN_INT -p all -m state ESTABLISHED,RELATED,NEW -j ACCEPT
+ $IPTABLES -A FORWARD -i $LAN_INT -o $WAN_INT -p all -m state --state ESTABLISHED,RELATED,NEW -j ACCEPT
$IPTABLES -A FORWARD -i $WAN_INT -o $LAN_INT -p all -m state --state RELATED,ESTABLISHED -j ACCEPT
echo "+ Allow local network"