2011-01-11 07:16:41 UTC
I am running a Debian machine with two NIC cards. One NIC card (eth0) has public IP address (dynamic) assigned by the ISP. Second NIC card (eth1) connected to a switch and have static IP address of 172.16.100.100 Several machines are connected to the switch.
I want those client PCs to access internet via Debain machine.
I can successfully Ping 172.16.100.100 from client PCs but I cannot Ping my Gateway (eth0 having external IP address). So my client PCs cannot access internet.
How do I get rid of this problem? What configurations do I need to do in my Debain machine so that client PCs can access internet via this Debain machine.
I have workable knowledge in IPTABLES :))
Regards