Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-31-2004, 01:46 AM   #1
LQ Newbie
Registered: Jul 2004
Posts: 5

Rep: Reputation: 0
how do i configure red hat 9.0 to run as an internet gateway

hi there,

i have just recently formatted my old computer to red hat 9.0 so i can run it as an internet gate way for 2 windows xp machines.. but im a bit lost with red hat 9, im fairly new to using linux but trying to make the switch to something more secure then windows.. gettin sick of virus's and so on.. anyways anyone know how to configure red hat 9 so it will work as an internet gateway ?
Old 07-31-2004, 11:11 AM   #2
Senior Member
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
If you have two nics on the linux box, you can configure iptables for ICS. You can get a lot of examples here
Another option which may be easier for now it to install a program called FireStarter. That program sets up internet connection sharing using a GUI tool which is easy to understand.
Old 07-31-2004, 02:22 PM   #3
linx win
Registered: Jan 2004
Posts: 390

Rep: Reputation: 31
Unfortunately, this program works in the ganome environment but I use kde. I am using SuSE 9.1 and need to make my PC as an internet gateway. Can you give me a list of the steps I need to do?
Old 07-31-2004, 04:04 PM   #4
Senior Member
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Suse 9.1 has a tool called YaST which works quite nicely for this....

Open up the YaST tool / Network Devices / Network Card...
Configure the card which is connected to the Internet ( external ... usually gets the ip address from dhcp )
Configure the card which is connected to your local network ( internal ... something like )
Save those settings and run the command /sbin/ifconfig to verify that your external card has picked up an address from the internet.
Ping something on the outside to make sure you can get out. For example...
ping -c 3

Now open YaST tool / Security and Users / Firewall
Select .... Reconfigure Firewall Settings

Select .... External Interface ( note: those funky numbers are the hardware address of the network cards in your machine. If you don't remember which is which, run the command: /sbin/ifconfig and write down which card has which hardware address. )
Select .... Internal Interface

Select services allowed from the internet. You can leave all of that unchecked unless you have a good reason to do otherwise.

[X] Forward Traffic and Do Masquerading
[ ] Protect from Internal Network
[X] Protect All Running Services
[ ]
[ ]

Logging Options
Just leave it set the way it is by default.

Save and Activate Firewall

That should do it for Suse.
Old 07-31-2004, 07:34 PM   #5
LQ Newbie
Registered: Jul 2004
Posts: 5

Original Poster
Rep: Reputation: 0

thanks homey,

ill let you know how it goes.. once i dl suse


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up a Gateway in Red Hat 9 depam Linux - Software 1 10-02-2005 11:35 PM
Red Hat 9 Default Gateway Paul Woodhouse Linux - Networking 7 11-11-2003 11:19 AM
Red Hat 9.0 on Gateway Solo 2500 laptop matkins Linux - Hardware 4 10-21-2003 09:56 PM
Red Hat 9.0 on Gateway 2500 laptop matkins Linux - Laptop and Netbook 3 09-16-2003 08:23 AM
Red Hat 7.3 gateway troubles Calista Jade Linux - Networking 1 11-04-2002 03:41 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration