LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Internet Connection Sharing in Ubuntu (https://www.linuxquestions.org/questions/linux-networking-3/internet-connection-sharing-in-ubuntu-709308/)

es0teric 03-05-2009 01:55 AM

Internet Connection Sharing in Ubuntu
 
Hola!

A friend of mine is trying to setup internet connection sharing in Ubuntu, which is something I've never dealt with before. Here's the situation:

One desktop PC is dual-booting Ubuntu and Vista. This box is connected wirelessly to the router and can access the internet just fine. The desired setup is to have an xbox360 connected (wired) to the desktop PC, allowing it to share the internet connection.

I've garnished some basic info from this page, but I want to run some assumptions and questions by you all first...
https://help.ubuntu.com/community/In...nectionSharing

1) A crossover cable would need to be used between the desktop PC and the xbox.
2) The xbox would still have the router's internal IP as the default gateway (I have zero experience configuring networking on an xbox... I hope these options are easily available).
3) The internal IPs can all be on the same network (i.e. router = 192.168.1.1 ; desktop = 192.168.1.100 ; xbox = 192.168.1.101)
4) IP forwarding would need to be enabled on the Ubuntu host


Is there anything I'm overlooking or just oversimplifying, or should that just about do it?

Thanks in advance.

paulsm4 03-06-2009 11:16 AM

Hi -

Frankly, the easiest thing to do is get a hub, switch or just use an inexpensive four- or five-port wireless router. Just plug everything in, and you're done :-)

But yes, in your scenario you'd probably use a cross-over cable, and some equivalent to Windows ICS like "Firestarter" or iptables.

Here's another link that might help:
http://www.fs-security.com/docs/connection-sharing.php
https://help.ubuntu.com/community/Firestarter


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