LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-31-2004, 01:46 AM   #1
shadowvamp04
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
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
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
Member
 
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
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
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 192.168.0.1 )
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 yahoo.com

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

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
Next

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

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

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

Next
Save and Activate Firewall



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

Original Poster
Rep: Reputation: 0
thanks...

thanks homey,

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


Reply


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


All times are GMT -5. The time now is 06:17 AM.

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