Share Internet Connection

xDamox
xDamox used Ask the Experts™
on
Hi Experts,

I have a Desktop PC which has a Network Card and a Laptop which Also Has a network
I currently run Redhat 9 on the Desktop PC and Win XP Home on the Laptop these are connected to a
switch Could Someone help me how could I get them to start talking to each other Plus I want to share the internet

My Desktop PC has the Modem Installed and I want to Allow The Laptop Access to the Internet could
and one help me so i could do this in a step by step process or does anyone have a tutorial on doing it

thanks.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
Try using an IPTables script.  This will in effect turn your RHL9 box into a NAT router meaning you can add many more machines that will all share the same connection.

If you do a search on Google for "IPTables NAT router script" you should get loads of example scripts that you can play with, and most of them include a basic tutorial on setting up IPTables and applying the script to your particular setup.

Hope this is of help.
Commented:
Shorewall(http:\\www.shorewall.net) is probably the best solution for you. I use webmin (http:\\www.webmin.com to setup the shorewall). Webmin is an excellent tool that will let you configure all the nice utilities that come w/ Linux. Samba (http:\\www.samba.org) will let you share your files and printers.

Thanks

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial