LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 04-26-2005, 05:30 AM   #1
Randvegeta
Member
 
Registered: Jun 2003
Location: Hong Kong
Distribution: Mandrake 9.1
Posts: 72

Rep: Reputation: 15
Linux Gateway Probs


Hi, Im running CentOS and I am wandering how I can make it the Gateway?

I have the interent working on it successfully but I cant seem to share the access. Any help? I have both different Linux distros and Windows machines on my network.

I would prefer to not have to compile anything .

Ok thanks for your help.
 
Old 04-26-2005, 05:40 AM   #2
Marius2
Member
 
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 276

Rep: Reputation: 31
I'm not exactly sure if I understood you correctly, but it seems that you have a LAN where one of the machines has an internet connection, and you want this connection to be available to all the machines on the net? If so, you either need a proxy (if you have dial-up - look for squid or wwwoffle), or, if the connection is permanent and with a static IP address, you may simply turn routing on the machine with the connection on (edit route.conf, usually in /etc/sysconfig/network, and turn ip forwarding on).

BTW I think Mandrake should come with squid and/or wwwoffle, or you should be able to download a readily compiled package from the net.

HTH


Last edited by Marius2; 04-26-2005 at 05:42 AM.
 
Old 04-26-2005, 05:47 AM   #3
Randvegeta
Member
 
Registered: Jun 2003
Location: Hong Kong
Distribution: Mandrake 9.1
Posts: 72

Original Poster
Rep: Reputation: 15
Yes I think you have missunderstood. I should update my profile though I think it may be useless since I run many linux machines all with different distros.

My question is how do i make my linux box(with an ADSL internet connection) a gateway to allow the other machines on my LAN connect to the internet?
 
Old 04-26-2005, 05:49 AM   #4
Randvegeta
Member
 
Registered: Jun 2003
Location: Hong Kong
Distribution: Mandrake 9.1
Posts: 72

Original Poster
Rep: Reputation: 15
Just to clairfy im running centos 3.4
 
Old 04-26-2005, 08:33 AM   #5
Marius2
Member
 
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 276

Rep: Reputation: 31
Quote:
Originally posted by Randvegeta
Yes I think you have missunderstood. I should update my profile though I think it may be useless since I run many linux machines all with different distros.

My question is how do i make my linux box(with an ADSL internet connection) a gateway to allow the other machines on my LAN connect to the internet?
This is exactly what I understood - but the second option (routing) I gave is of course crap (since even if you have a static IP, it will be, well, only one). You'll need a proxy (to be run on the machine with the ADSL connection) - squid or wwwoffle. If it doesn't come with centos, I fear you will very likely have to compile from source.

See here:
http://www.squid-cache.org/
http://www.gedanken.demon.co.uk/wwwoffle/
 
  


Reply



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
probs with vector linux 5.0 ankscorek Linux - Hardware 5 08-07-2005 06:58 PM
Odd problem: Gateway unreachable after certain amount of time (Win XP Gateway) SocialEngineer Linux - Networking 2 08-13-2004 12:54 AM
Did a linux update and now have probs bmicielli Linux - Software 3 08-23-2003 05:45 PM
New to Linux probs... t1mc00per Linux - General 31 01-25-2003 06:28 PM
Probs uninstalling linux busybee Linux - Newbie 4 10-28-2002 11:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:43 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration