On Monday 20 October 2003 12:14, Kurt V. Hindenburg wrote:
> On Sunday 19 October 2003 07:23 pm, Jason Stubbs wrote:
> | That's a strange one. What is the contents of
> | /var/lib/iptables/rules-save? Just to confirm that it isn't, try it
> | once more. eg:
> | 1) /etc/init.d/iptables restart
> | 2) iptables -t nat -A POSTROUTING -o ppp0 -s 196.168.0.0/3 -j
> | MASQUERADE
> | 3) /etc/init.d/iptables save
>
> I just followed your 3 steps, and then did another
> /etc/init.d/iptables restart
>
> I can't get to the Net from 192.168.0.2 machine.

What does /var/lib/iptables/rules-save say?

> | BTW don't you actually want 192.168.0.0?
>
> I thought that 192.168.0.0/3 takes care of machines .1 .2 .3

Above you had 196 instead of 192 - prolly just a typo. However, now that you 
mention the /3 bit... /3 means a netmask of 
11100000.00000000.00000000.00000000. What you want is /30 for machines .1 .2 
& .3 but using /24 is probably safe enough anyway.

Jason

--
[EMAIL PROTECTED] mailing list

Reply via email to