Click to See Complete Forum and Search --> : Internet sharing RH9.0


goodwill
06-10-2003, 02:47 AM
I am new to the Linux OS
I have just installed RH9.0 and I am going to use it as an Internet gateway
Server for my Home network consisting of four workstations all running Win
XP.

So far I have been able to setup DHCP SERVER in the Linux and Windows
computers are getting their respective ip addresses.

I have ADSL which is now up and running in the Linux box.

I have 2 networks cards eth0 is the one that is used by the Lan in other
words for the DHCP server having ip address as 192.168.0.1

And the second card eth1 is the one that is connected to the ADSL modem.

My question is can anyone help me with real life step by step guide on where
to locate the file to edit and the necessary commands or parameters needed
to configure the iptables or NAT. so that the rest of the computers can
connect to the Internet. As I have no previous experience with Linux.

Thank you in advance

Hubbe
06-23-2003, 07:40 AM
To get the system to work take a look at this:
http://www.linux.org/docs/ldp/howto/IP-Masquerade-HOWTO/index.html

gommo
06-23-2003, 07:59 AM
Take a look at monmotha's firewall script.

serz
06-23-2003, 08:00 AM
I use a script that do that (Mon Motha's IPTABLES Firewall (http://monmotha.mplug.org/firewall/index.php)) It's really easy to set up and it works. Then if you really want to add more rules you can just add them to the script.

Hope this helps...