summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérôme Schneider <jschneider@entrouvert.com>2014-02-03 09:00:25 (GMT)
committerJérôme Schneider <jschneider@entrouvert.com>2014-02-03 09:00:25 (GMT)
commit5150b0a7470ac4e1eff1af44047c41f817fa3442 (patch)
tree8d8172763c867f1966ee740a1e98bc481493668f
parentd0cfb0e12d44ff84a074af7bc88cd8aafe67e4af (diff)
downloadeofirewall-5150b0a7470ac4e1eff1af44047c41f817fa3442.zip
eofirewall-5150b0a7470ac4e1eff1af44047c41f817fa3442.tar.gz
eofirewall-5150b0a7470ac4e1eff1af44047c41f817fa3442.tar.bz2
eofirewall: don't use interface for natting
-rwxr-xr-xeofirewall2
1 files changed, 1 insertions, 1 deletions
diff --git a/eofirewall b/eofirewall
index ed8cfd3..69d9bcc 100755
--- a/eofirewall
+++ b/eofirewall
@@ -338,7 +338,7 @@ start()
if [ $NAT == 1 ]; then
log_action_msg "Activate nat"
for proto in ftp irc sip h323; do modprobe nf_nat_$proto; done
- $IPTABLES -t nat -A POSTROUTING -o $WAN_INT -s $LAN_NETWORK -j SNAT --to-source $IP
+ $IPTABLES -t nat -A POSTROUTING -s $LAN_NETWORK -j SNAT --to-source $IP
fi
ipt_hook