2

I'm using the terminal server client in Ubuntu to connect to a Windows machine in another location but I don't get it to work. I wonder what should be the port forwarding setting so I can connect.

So far I've managed to connect to a Windows machine on the same house, but what about in another locations?

1
  • What protocol do you use? RDP or VNC?
    – ulidtko
    Jan 21, 2011 at 7:14

1 Answer 1

2

Most likely you use RDP (Remote Desktop Protocol), as it works out of the box in Windows.

RDP uses TCP port 3389 by default; so port forwarding needs to be set up like this:

port 3389 on your router --> port 3389 on your Windows machine

For VNC you would need to do the same, but with port 5900.

3
  • yes RDP is the one i use and now is working thanx!
    – peter
    Jan 21, 2011 at 20:12
  • @peter, please accept answers which you find the most useful or solving your question.
    – ulidtko
    Jan 22, 2011 at 15:18
  • I recommend to change the outbound port to something else like 3389, like 78974 (random). A bit more security by obscurity.
    – Lekensteyn
    Jan 23, 2011 at 13:43

You must log in to answer this question.