summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérôme Schneider <jschneider@entrouvert.com>2011-06-21 17:18:54 (GMT)
committerJérôme Schneider <jschneider@entrouvert.com>2011-06-21 17:18:54 (GMT)
commit79b094e5c43d91a18b3616b583c34144fefe339c (patch)
tree28f27f66c5a60ff35b4b756d18f26626673c3bbe
parent8826481a8e552ca977afe18e98df37493043f023 (diff)
downloadeofirewall-79b094e5c43d91a18b3616b583c34144fefe339c.zip
eofirewall-79b094e5c43d91a18b3616b583c34144fefe339c.tar.gz
eofirewall-79b094e5c43d91a18b3616b583c34144fefe339c.tar.bz2
Fix WAN outgoing traffic from lan
-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"