LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 07-05-2007, 03:34 AM   #1
breadfan311
LQ Newbie
 
Registered: Nov 2006
Location: Malaysia
Posts: 14

Rep: Reputation: 0
Sharing Internet Connection In Ubuntu Server


Hi,
I have setup a LAMP server (Ubuntu server 7.04) with the below ip services and applications. My LAMP server is able to distribute ip address to the clients and able to connect to the internet. However, all the clients are unable to connect to the internet. Please advise on how the server is able to share out the internet connection. Thanks.


I have these installed :-
(1) DHCP
(2) DNS
 
Old 07-05-2007, 04:36 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu 10.04
Posts: 9,196

Rep: Reputation: 190Reputation: 190
Depends how the clients are connected to the server and how the server is connected to the internet.

Typically, one uses the firewall script to share an internet connection with a network.

Presumably, the server serves IP's for the LAN (with, maybe, caching DNS otherwise). LAN hosts thus connect via a switch or a hub, by DHCP. You need to set up the server as an internet gateway.

Have a look at the links in:
http://www.linuxquestions.org/questi...88#post2806588
... covers making an internet gateway with NAT and masquerade.

An alternate approach involves "bridging" but I don't know if that is the right approach for you.
 
Old 07-05-2007, 11:39 AM   #3
spamgrind
LQ Newbie
 
Registered: Jul 2007
Posts: 10

Rep: Reputation: 0
Install the firestarter application in Ubuntu, it will make it really easy for you to setup firewall/routing for your internal clients.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help !!! Ubuntu Internet Connection Sharing PopaBogdan Linux - Networking 4 01-02-2007 08:43 PM
Internet connection sharing between two Ubuntu computers tsunamikitsune Linux - Networking 3 06-26-2006 12:04 PM
Internet connection sharing between Ubuntu and Windows 98SE tsunamikitsune Linux - Networking 2 06-23-2006 10:50 AM
Sharing my Internet Connection from Ubuntu to Windows (XP & 98SE) eminence Linux - Networking 4 05-19-2005 06:05 PM
Sharing my Internet Connection to W2K Server dwynter Linux - Networking 6 06-24-2002 07:51 AM


All times are GMT -5. The time now is 05:03 PM.

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