Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 would like to run VNC over SSH (tunneling) on a Mac. I am behind a Firewall and I can't modify the Firewall other than open Port 22 or the VNC port. Is there any way I can run VNC over SSH, without the need to forward the VNC port over SSH.

Thanks a lot.

share|improve this question
You can tunnel anything over SSH that only requires outbound connections on a static port number. For instance, it's very easy to tunnel an HTTP connection over SSH, because it only requires an outbound connection on a single port (usually 80). However, tunneling active FTP over SSH is more difficult because FTP uses an outbound control channel (port 21) for sending commands as well as an inbound data channel (on a dynamic port) for transmitting data. Passive FTP gets around this, however, by putting everything on the control channel. – Lèse majesté Apr 11 '12 at 12:22
Would you be able to use a zero config VPN like LogMeIn Hamachi? It creates outbound initial requests on both the source and destination computers therefore no pinholes required in the Firewall. – kobaltz Apr 11 '12 at 12:27

Your Answer


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

Browse other questions tagged or ask your own question.