How to access Mac OS X screen sharing from outside my local network?

Posted on

QUESTION :

I have a setup of two Mac Mini, connected to a router with static IP.

Mac Mini 1 (Local IP: 192.168.0.99) Mac Mini 2 (Local IP: 192.168.0.100)

I use the built-in screen sharing for Mac OS X.

When I connect thru WAN, I want to be able to reach both of the computers. Like if my ip was: 85.85.85.85, and I can route: 85.85.85.85:1 / 85.85.85.85:2

Is that possible?

ANSWER :

Yes it is possible.

You need to set up port forwarding in your Router.

Depending on your Router’s make/model, the setup may vary, but the basics are the same regardless.

I would choose a port way north of 1 or 2.

Both computers will be listening on port 5900, so you’d set something up like:

85.85.85.85:15000 --> 192.168.0.99:5900

and

85.85.85.85:16000 --> 192.168.0.100:5900

You cannot reach both computers on the same port but you can configure the router to pass different ports to different computers.

So for web usually on port 80 you can put on machine’s server on that and the other on say port 81 or you can set the router o pass port 80 to port 80 on the first and port 81 to port 80 on the second.

Have you enabled the ‘back to my mac’ feature in the iCloud settings? That probably will work without adjusting your router settings.

Otherwise try searching for a UPnP setting in your routers setting and make sure it is turned on.

Leave a Reply

Your email address will not be published.