After a check of the archives I see that when you setup a port forwarded
connection, its between 2 hosts, not three as I tried to do.

So I ssh'd to the gateway, then setup an SSH port forward from the
gateway (5904) to the vncserver (10.3.1.194:5901).

  ssh -C -L 5904:localhost:5901 10.3.1.194

 Then made a 2nd connection to the gateway, forwarding port 5905 on the
viewing client to 5904 on the gateway. 

  ssh -C -L 5905:localhost:5904 gateway.corp.com

Then I was able to connect with VNC Viewer to localhost:5 and I believe
this will work when I try from outside the LAN.

Is there not a way to instantiate both connections/forwards with one
command?

Thx,

Bob V
--------------------------

If you aren't using localhost:5 in the VNC viewer, you aren't using the
SSH tunnel.

-- 
William Hooper
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to