[Firewall] Can't get NAT - Masquerading to work....

Arno van Amersfoort arnova at rocky.eld.leidenuniv.nl
Sun Oct 29 08:48:54 MST 2006



mombasa wrote:
> Hi Arno,
> 
> You are offcourse completely correct. How incredibly stupid of me to not
> have noticed this. Because i have to configure this modem under Windows as
> PPPoE, i was certain
> that it would be a PPP0 interface under Linux...
> Everything works as it is supposed to now. Great firewall script !

Thanks. Great that it works now :-D
> 
> I have one little question though about the syntax to use with the
> NAT_INTERNAL_NET parameter :
> 
> Let's say i want to only allow host 192.168.10.115 on the internet, i edit
> the line:
> 
> NAT_INTERNAL_NET="192.168.10.115"
> 
> This works just fine.
> 
> However when i want 192.168.10.188 to also be able to acces the internet and
> i put something like this in the script:
> 
> NAT_INTERNAL_NET="192.168.10.115 192.168.10.188"
> 
> It does not work.

Strange.... This should work... Could you provide me with the output of 
"arno-iptables-firewall start" ?

> 
> Can you tell me what the correct syntax is to ad different IP adresses and
> to ad a range of IP adresses (let's say ip's 192.168.10.115 to
> 192.168.10.120  and ip 192.168.10.188 )

IP ranges are currently not supported by my script. This will be 
implemented in 1.9...

a.



More information about the Firewall mailing list