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

Re: Help needed on MASQUERADE



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

-- 
Jose Celestino <japc@co.sapo.pt>
---------------------------------
"The paradox render and the merge in complete, Nothing but
the process is infinite"         -- Borknagar - Colossus

Attachment: pgpkDXpy3O7PR.pgp
Description: PGP signature


Reply to: