[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
> 
> 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.
have you tried setting all other chains to accept?
iirc the masqeuraded packet has to be accepted by the filter table
too.. rtfm ;)

-- 
,-------------------------------------------.
> Name:           Alson van der Meulen      <
> Personal:       alson@linuxfreak.nl       <
> School:       alson@gymnasiumleiden.nl    <
`-------------------------------------------'
You did what to the floppy???
---------------------------------------------



Reply to: