|
Posted by Marc Herrmann on March 18, 2005, 11:15 pm
If you were Registered and logged in, you could reply and use other advanced thread options > Ok, I have been all over the net and it seems this trick has been tried
> and can succeed.
>
> I am trying to tunnel a VNC session through a secure shell. What I have
> are 2 windows XP boxes and a linux server in the middle for the shell.
>
> I establish a tunnel for the server localhost:5900 and tell it to
> forward to 5900 on the linux machine. Client Establishes an outbound
> tunnel to 5900 on linux machine:
>
> vncserver (listen 5900) <---linux (listen 5900) <-- vncclient (5900)
>
> Here is what blows my mind: I could easily believe I misconfigured
> something if it wasn't for the fact that I can
>
> telnet localhost 5900
>
> And I actually get VNC connection handshaking (RFB 003.003)!
>
> Obviously the tunnel is working correctly.
> One more thing to point out: when I try and use the viewer to connect
> to loopback:0 (or 127.) I get an error telling me loopbac is disabled.
>
> What am I missing?
>
> Christian
> http://christian.bongiorno.org/resume.PDF
On certain VNC version loopback connections are disabled for some
reasons. I have seen a VNC installation recursivly reconnecting to it's
own server, which is not really what you want.
I am reguarly using TightVNC V1.3dev5 (unstable) on my XP-NB, and
nearly every day, i'm tunneling VNC thru firewalls, and it really works
great
P.S.
for the above mentionened, i'm using this type of tunnel:
"ssh -L 5900:remote-vnc-machine:5900 user@remote-server-host".
|