Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 07-10-2005, 03:54 PM   #1
Registered: Mar 2003
Location: Cambridge, Ohio, USA
Distribution: Slackware 11.0, FreeBSD 6.2
Posts: 98

Rep: Reputation: 15
Stupid question about internet connection sharing

I'm pulling my hair out trying to figure out how to make Ubuntu share its internet connection with another computer on the LAN.

I have a cable connection going into the first NIC on the Ubuntu computer. It has a second NIC (a Tulip class card) that's connected to a second computer. The second computer needs to share the internet connection with the first.

I can't figure it out. It's so easy to do in Windows, and on Mandy 10.X there's a simple applet you check to make it work. I can't figure out how to do it on Ubuntu.

Anyone feel like helping me figure out how to do this?
Old 07-10-2005, 04:37 PM   #2
Registered: May 2003
Location: South Africa
Distribution: Ubuntu
Posts: 75

Rep: Reputation: 15

Basically there is no point and click method of doing this on Ubuntu that I know of. What your effectively trying to do is masquerading so you'll find a lot of documentation if you search using that name. This can be really simple or really complicated depending on how technical you are. This document explains masquerading really well:

Also take a look at this post:

I'm not sure how you're assigning your second PC an IP address, but you might want to start by getting DNSMasq package working.

There is a lot of stuff involved but I hope this provide a good start.
Old 07-10-2005, 04:58 PM   #3
LQ Newbie
Registered: Feb 2005
Posts: 7

Rep: Reputation: 0
On my Ubuntu laptop, I used Firestarter (its in the repositories) to share my internet connection with others. It's basically a firewall but when you configure it you can enable internet connection sharing in one of the menus. Might not be the best sollution but it was very easy to do so if you can't figure masquerading out you might want to give it a try.


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
ad-hoc connection (and internet sharing) between two linux boxes. A complex question. riccisit Linux - Wireless Networking 1 09-29-2005 09:02 AM
Internet Connection Sharing mimithebrain Linux - Networking 7 08-15-2005 07:55 PM
Internet connection sharing enragedchip Linux - Networking 1 03-24-2004 05:43 AM
Sharing internet connection KRunch Linux - Software 1 02-22-2004 04:46 AM
Sharing Internet connection square_eyes Linux - Networking 3 07-18-2003 01:17 AM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:53 PM.

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