I have been looking at scripts for Linux as firewall – router, but need a bit for information for what I would like to do. Is this possible to do:
Setup three ethernet interfaces, two internal and one external. External goes to DSL Internet connection. One internal is private subnet 192.168.10.1. The other internal are public IP’s that need to be behind firewall also, 66.13.x.x.
Can I masquarde (or NAT) from the 192.x.x.x interface to the external, and at the same time not masquarade the 66.13.x.x? And also route between the two internal nets? In other words I want this:
Two nets behind firewall that both access the Internet, and are routed between each other. The 192.168.x.x needs to be masquaraded, and the 66.13.x.x does not.I am not looking for exact instructions, and am somewhat familiar with IPChains, Masquarading and IP forward. Just would like to know if it is possible.
I know that with my current NT based firewall, once you implement NAT it has to be for all interfaces.
Thanks!