User Tools

Site Tools


vnc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
vnc [2020/06/04 07:04] – [Setting up port forwarding manually] jansenvnc [2020/10/16 08:43] – [Setting up port forwarding manually] jansen
Line 85: Line 85:
 The other important thing to know is, what a tunnel actually does: it creates an encrypted connection between a local ''port'' on your computer, to a port on the remote computer. Once that is done, you want to point your VNC client to the **local** port, and let SSH takes care of the rest. The other important thing to know is, what a tunnel actually does: it creates an encrypted connection between a local ''port'' on your computer, to a port on the remote computer. Once that is done, you want to point your VNC client to the **local** port, and let SSH takes care of the rest.
  
-Example for commandline ssh on Mac OS X or Linux: +Example for commandline ssh on Mac OS X or Linux, in the example where your vnc runs on a computer called eendracht, and you have to connect through the ssh gateway ssh.strw.leidenuniv.nl (and your vnc is on :1 so the port is 5901)
-  ssh -NfL 5901:127.0.0.1:5901 user@remote.host.domain +  ssh -NfL 5901:eendracht:5901 username@ssh.strw.leidenuniv.nl  
-This forwards local port 5901 to port 5901 on the remote computer+This forwards local port 5901 to port 5901 on the remote computer. So now you can connect locally with: 
 +  vncviewer :1
  
 +==== Setting up port forwarding through a graphical user interface ====
 If you would like to configure port forwarding through a gui, good choices are: ''putty'' for Windows and Linux, ''bitvise'' for Windows; or ''ssh tunnel manager'' for Mac OS X If you would like to configure port forwarding through a gui, good choices are: ''putty'' for Windows and Linux, ''bitvise'' for Windows; or ''ssh tunnel manager'' for Mac OS X
  
vnc.txt · Last modified: 2023/10/13 14:50 by jansen