I have an Ethernet 100MB LAN (One Switch) + a DSL Router
Desktop (Windows) computers on the LAN have private IP Addresses
One or two NT Servers will have either real internet IP (say 200.200.200.x)
address or real internet IP address + private IP address.
desktop 1: 192.168.104.100
desktop 2: 192.168.104.101
DSL Router: 220.127.116.11
NT Server1: 18.104.22.168 and 192.168.104.200
NT Server2: 22.214.171.124 and 192.168.104.201
Linux Box: 126.96.36.199 and 192.168.104.2 (Mandrake 7.1)
1. I want to use the linux box as a NAT server for all desktops, but NOT for
the servers (which have real IP addresses).
2. I want to use the linux box as a firewall for both desktop and servers.
My physical configuration:
- All computers connected to 100MB switch.
- The linux Box has a second ethernet card which is directly connected to
the DSL router
The default gateway of the linux box is the DSL Router 188.8.131.52
The default gateway of the servers and desktops is the linux box
(184.108.40.206 and 192.168.104.2)
Q. How do I configure routing and Masquerade on the Linux Box so that this
setup works ?
Q. Or should I use other daemons (gated ? ???)
Thanks a lot,