eofirewall: don't use interface for natting
This commit is contained in:
parent
d0cfb0e12d
commit
5150b0a747
|
@ -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
|
||||
|
|
Reference in New Issue