-   Linux - Networking (
-   -   please confirm NAT question. (

musicman_ace 06-01-2004 02:13 PM

please confirm NAT question.
My server has two nics

Eth0 = ISP connection
Eth1 = internal DHCP to home network (

Since another computer connected via dhcp got to the Internet, Then NAT must be working correctly right?

If I am flawed in this thinking, can you tell me how to make sure that NAT is working.

Thank you all tremedously, I now have the following working because of your help:

IPTABLES (assuming the above is correct)

david_ross 06-01-2004 02:30 PM

If there is no physical connection between the 2 ethernet cards other than the inside of the server then yes NAT is working.

Zig 06-01-2004 07:50 PM

hi, i would like to know how you configure dhcp and how do you do to connect to the internet with both machines??

i am trying to do the same but with linux with a dial up connection and a win XP machine connecting to internet trhu linux

Any help??

musicman_ace 06-02-2004 02:43 AM

I downloaded an IPTABLES script that was well documented, then edited the areas which allow different services. My edited firewall script is at

You'll have to change the ETH0 and Eth1 to your modem and network card, but like I said it is well documented.

Hope it helps

All times are GMT -5. The time now is 08:32 PM.