On Wed, 25 Aug 2004 12:50:07 +0200
"Mardaga Stephan" <[EMAIL PROTECTED]> wrote:

> 
> >From: "Fran�ois Boisson"
> 
> 
> >Que donne route -n et iptables -L ?
> 
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0
> eth1 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0     
>   0 eth0

dans ta commande

/sbin/iptables -A POSTROUTING -t nat -s 192.168.1.0/24 -o eth0 -j
MASQUERADE

Change le eth0 en eth1, �a devrait marcher.

Fran�ois Boisson

Répondre à