LinuxQuestions.org
Help answer threads with 0 replies.
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 09-06-2005, 10:47 PM   #1
isilinux
LQ Newbie
 
Registered: Jan 2005
Posts: 17

Rep: Reputation: 0
Internet Sharing


hi.

I have a LAN with 1 Linux Server (Fedora 3) and 5 stations (Linux or Windows). My Server computer has 2 NIC. One of them (eth0) conects to internet with a Valid IP.Another conects to a switch that other stations conect to it.

I configure the network and make a workgroup . Each station see other stations and Server and can share files (with Samba) and share printer and ... .

My problem is that the stations can not conect to internet by Server.
How can I do it?
I search but can not find any application example about this subject yet.

Thank you
ALi
 
Old 09-06-2005, 11:01 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: Internet Sharing

Quote:
Originally posted by isilinux
hi.

I have a LAN with 1 Linux Server (Fedora 3) and 5 stations (Linux or Windows). My Server computer has 2 NIC. One of them (eth0) conects to internet with a Valid IP.Another conects to a switch that other stations conect to it.

I configure the network and make a workgroup . Each station see other stations and Server and can share files (with Samba) and share printer and ... .

My problem is that the stations can not conect to internet by Server.
How can I do it?
I search but can not find any application example about this subject yet.

Thank you
ALi
Hi Ali you would want to search on NAT, ip forwarding and iptables or if you want a quick way to set it all up then try what I use Arno's Iptables.
 
Old 09-07-2005, 12:00 AM   #3
seow_ming
Member
 
Registered: Mar 2004
Location: Currently in China
Distribution: Fedora 9
Posts: 130

Rep: Reputation: 15
I'm a newbie here. Also add my questions here to Ali's questions.

As my experience in M$ Windows, if the server would like to share the internet connection to the rest client PC(like how Ali do), then the server itself would have to "SHARED" its Internet Connection to the rest via a "Internet Sharing Configuration". So, is that means Ali have to do something in order to share the INTERNET CONNECTION to the rest CLIENTS? Any setting he need to do?
 
Old 09-07-2005, 10:22 PM   #4
isilinux
LQ Newbie
 
Registered: Jan 2005
Posts: 17

Original Poster
Rep: Reputation: 0
I could not solve my problem yet.
Please introduce me a applicatione example.
Thanks
Ali
 
Old 09-08-2005, 02:06 AM   #5
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Firstly you need to install ip-masquerading and make sure that iptables is running. You can find a basic howto here . You will need to forward requests from the host which is also covered in the link. Once this is all configured then you need to configure all the boxes behind this one to set their gateway as the eth1 ip address.
 
  


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
mandrake 10.1 sharing files and internet sharing xfiles_arram Linux - Networking 0 05-21-2005 02:22 PM
internet sharing LinuxRam Linux - Networking 8 09-09-2004 08:52 AM
internet sharing trace1918 Linux - Networking 3 11-18-2003 02:04 PM
File sharing and internet sharing mullet Linux - Networking 1 10-14-2003 01:30 PM
Internet sharing from OS X to RH 7.3 ZeratulsAvenger Linux - Networking 3 07-22-2003 08:03 PM

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

All times are GMT -5. The time now is 11:08 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