On Sun, Jun 03, 2001 at 11:39:29PM +0200, Luc MAIGNAN wrote:
> HI all,
>
> I have an internet connection on eth0 (10.0.0.1) and a private network
> connection on eth1 (192.168.0.1).
>
> I put the masquerade configuration on a kernel 2.4.4 :
>
> iptables -t nat -s 192.168.0.0/24 -o ppp0 -j MASQUERADE
> echo 1>/proc/sys/net/ipv4/ip_forward
>
And this gave you no error? Try:
# iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth0 -j MASQUERADE
-o eth0 because "an internet connection on eth0 (10.0.0.1)"...
Byes.
> A workstation on my network succeeded to ping both eth0 and eth1, but didn't
> succeed to go out of my network to reach the internet.
>
> Anyone can help me ?
>
> Best regards
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
--
Jose Celestino <[EMAIL PROTECTED]>
---------------------------------
"The paradox render and the merge in complete, Nothing but
the process is infinite" -- Borknagar - Colossus
PGP signature