I NEED HELP!
So I have a windows 8 PC (vnc viewer) and a iMac 10.8 Mountain Lion (vnc server) and a middleman server running ubuntu on a DMZ (all ports open). Both computers are behind a firewall with NO PORTS OPEN to the external world (except the middleman server).
VNC Server (iMac): email@example.com (Private IP) Username: phil
Middleman Server: firstname.lastname@example.org (I use domain names instead of IP for simplicity) Username: fixnode
VNC Viewer (Windows 8 PC): 126.96.36.199 (private IP) (No SSH Server on PC)
Step 1: From the VNC Server (iMac) I run this command:
ssh -f -N -R 5900:localhost:5900 email@example.com and then I turn on my VNC server.
Step 2: Then from the Viewer (Windows 8 PC) I run Putty (ssh client) to connect to
firstname.lastname@example.org -p 5900
Note: In putty there is no feedback so I assume the tunnel is created (since there is no error)
Step 3: Using TightVNC Viewer (On Windows 8 PC) I put
localhost:5900 and click connect
When I try to connect the viewer to the iMac the error I get is a timeout error, I have tried to edit my sshd_config file (on the middleman server) to allow gateway connections but nothing helps. Can anyone give me any suggestions?
Just to clarify BOTH PC and Mac are behind a firewall with NO PORTS OPEN
Thanks, Phillip K