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

In order to vnc from home into my work desktop running linux I have to take some quite complicated steps. I have to first connect to the work server linux box and from there I can connect to my work desktop. You can't connect directly to the work desktop at all from the outside world. To add to the problems the work computer has port 5900 filtered so I need can't connect on that port even from the work server.

I can work out how to do this from my home linux machine using ssh port forwarding (e.g. ssh -L) but how can I do it from windows?

share|improve this question

It sounds like you need a Repeater on your linux. It manages connections to other computers on the network (Proxy) by had a listening port. Then you can connect by using a proxy address (your Linux server's ip and the Repeater port) in the proxy field, and the name of the VNC server in the address field.

Download the Linux VNC Repeater:
Full guide; Not to setup Linux Repeater:

share|improve this answer

If you have your Linux machine set up properly, you can do it the same way on Windows by installing Cygwin, which has an OpenSSH package available. Just download the Cygwin setup.exe and make sure the openssh package is selected for installation.

share|improve this answer
I was hoping to avoid cygwin. Can it be done using putty? – felix Jul 5 '13 at 0:32
PuTTY supports port forwarding via Connections -> SSH -> Tunnels, and it works fine for one hop at least. – jjlin Jul 5 '13 at 4:26
How do you use that to forward 5900 on the work server to 5901 on the work desktop for example? – felix Jul 5 '13 at 9:05
I thought you said you'd worked out how to do this on Linux, but if not, I'd suggest looking at and use Plink.exe if you want to avoid OpenSSH. You can apply the same multi-hop concepts to the graphical PuTTY, but it'd be less automated -- I think you'd have to set up one session that forwards from the work server to the work desktop, and then another session that connects to the work desktop via the first tunnel. – jjlin Jul 5 '13 at 18:46

You must log in to answer this question.

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