Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I was wondering how to access a Linux (Ubuntu Karmic to be exact) on the local network when it is connected through a Mac with Internet sharing (AirPort to Wired).

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Internet Sharing acts as a NAT, but doesn't provide a way to specify port mappings. So you can't initiate connections from the upstream/public/Internet side of the Mac to the Linux box.

The Mac itself should be able to connect to it, and any other clients on the downstream/private side of the Mac should be able to connect.

share|improve this answer

Without knowing what you define as "to access":

If you want to get to the command line of the Linux machine from the outside world, then you'd first need to SSH into your Mac. Then, you can SSH into that Linux machine from the Mac.

Or if you want to access port-based services on the Linux machine, then you can SSH into your Mac while specifying some port forwarding (tunneling) towards the Linux machine.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.