eofirewall: don't use interface for natting

This commit is contained in:
Jérôme Schneider 2014-02-03 10:00:25 +01:00
parent d0cfb0e12d
commit 5150b0a747
1 changed files with 1 additions and 1 deletions

View File

@ -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