Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two Mac notebooks at home, I have assigned them static private IPs. I have also set my router to a DynDNS address, which updates everytime my router gets a new public IP. I have enabled Screen Sharing on both notebooks.

I can successfully goto my router webpage using the DynDNS address. I understand I need to port-forward to get Screen Sharing to work from outside.

alt text

Lets assume, notebooks have private IP and

I am kind of lost here, would appreciate some help (I need to be able remote desktop to both notebooks)

share|improve this question
please don't use tags to prefix the title, use the tags field – Sathya Jan 16 '11 at 10:25
Perhaps edit "Remote Desktop" in the title to "Screen Sharing"? ARD uses a slew of other ports that are not necessary for Screen Sharing alone. – NReilingh Jan 16 '11 at 17:41
Which router do you have? – David Apr 6 '14 at 20:57

Take this as a hint/rough guide as I don't know how your router works. And I don't know what port or ports screen-sharing uses so I'll just type Pstart Pstop.

This also requires you to be able to tell the screen-sharing program client to use different ports than it normally uses.

Here is my guess:

In Server IP Adress you put

External Port Start: Here you pick a number not in use for example 60100
External Port Stop : Her you put in the number 60102 + (Pstop-Pstart) to give your application a port span size it needs. (Very often the start and stop port is the same)

Internal Port Start put Pstart
Internal Port Stop put Pstop

And save.

Then you repeat for but start with 61100 instead.

Then on the computer you want to use to connect to and you tell it to use adress and the ports specified above.

The ports I chose are just examples, you can use something else (keep it above 60000 to be safe)

share|improve this answer

Mac OS X uses the VNC protocol for screen sharing.

VNC uses port 5900 by default.

So forward port 5900 external to port 5900, and port 5901 external to port 5900.

When connecting from outside, enter your DynDNS host name. Desktop 0 (written :0) will be your first notebook, desktop 1 (:1) will be your second notebook.

On your router it looks like you put the external port in the "Custom Server" field and the internal IP address in the server IP field. See your router's manual for more details.

share|improve this answer
Or is the problem that your router requires internal port be the same as the external port? – Mikel Jan 16 '11 at 11:08
The addresses you connect to from outside will be vnc://yourdomain:5900/ or vnc://yourdomain:5901/, not :0 or :1 – NReilingh Jan 16 '11 at 17:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .