From 5150b0a7470ac4e1eff1af44047c41f817fa3442 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Schneider?= Date: Mon, 3 Feb 2014 10:00:25 +0100 Subject: [PATCH] eofirewall: don't use interface for natting --- eofirewall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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