On Sunday 11 January 2004 1:45 pm, Romain Moyne wrote:
Cedric Blancher a écrit :
iptables -t nat -A POSTROUTING -s $LAN -d $WB -j SNAT --to $ETH0What must I write instead of $LAN and $ETH0 ?
$LAN is the network range of the machines you might have packets coming from (note it is the source address in the above rule) and $ETH0 is the IP address of the interface on your netfilter machine.
Perhaps $LAN=192.168.0.0/24 and $ETH0=192.168.0.1 for your network?
Antony.
Thanks to everybody ! It works fine now ;) Thanks you
Romain