summaryrefslogtreecommitdiff
path: root/sample/sample-config-files/firewall.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sample/sample-config-files/firewall.sh')
-rwxr-xr-xsample/sample-config-files/firewall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/sample-config-files/firewall.sh b/sample/sample-config-files/firewall.sh
index 19d75ee..456700c 100755
--- a/sample/sample-config-files/firewall.sh
+++ b/sample/sample-config-files/firewall.sh
@@ -50,7 +50,7 @@ iptables -A OUTPUT -p tcp --sport 137:139 -o eth0 -j DROP
iptables -A OUTPUT -p udp --sport 137:139 -o eth0 -j DROP
# Check source address validity on packets going out to internet
-iptables -A FORWARD -s ! $PRIVATE -i eth1 -j DROP
+iptables -A FORWARD ! -s $PRIVATE -i eth1 -j DROP
# Allow local loopback
iptables -A INPUT -s $LOOP -j ACCEPT