[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help needed on MASQUERADE



you need to set it to eth0 not ppp0


----- Original Message -----
From: Luc MAIGNAN <dirtech@winxpert.com>
To: <debian-security@lists.debian.org>
Cc: ; <debian-isp@lists.debian.orgdebian-users@lists.debian.org>
Sent: Monday, June 04, 2001 7:39 AM
Subject: Help needed on MASQUERADE


> 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
>
> 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 debian-security-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>



Reply to: