this is how we are setup:
1.we dont need samba because it is a 100% microsoft environment
. The only non-microsoft is the linux box itself which is acting as the router(ip masqu.).
2. the linux box (RH) is just a router using iptables the script is:
**************************
iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
iptables --append FORWARD --in-interface eth1 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward
**************************
to internet
|
hardware router
(205.2.2.0-205.2.2.255)
|
|
switch
| |
| |
| |
205.2.2.10 ------
linux box |
ip masq server
(192.168.1.1) 205.2.2.5
|
to internal net