Motherboard Forums


Reply
Thread Tools Display Modes

Re: VNC and reverse ssh tunnel...

 
 





















Bob Harris
Guest
Posts: n/a

 
      10-29-2004, 12:22 AM


In article <281020041413139622%>,
blah blah <> wrote:

> I am trying to use a vnc client (Chicken of the VNC) to connect to my
> work machine, which is behind a firewall. I have set up a reverse
> tunnel, so I can log into my work machine from home (the command I used
> is ssh -R 10022:localhost:22 home_machine_ip_addy). I have also
> forwarded a port for vnc. (ssh -R 15900:localhost:5900
> home_machine_ip_addy) When I try to connect from home with cotvnc,
> using either <localhost:15900> or <127.0.0.1:15900> I am unable to
> connect. I can connect from within my local lan, so I know that the vnc
> server is working. Any help/advice appreciated...
>
> thanks


Try

ssh -R 10022:127.0.0.1:22 home_machine_ip_addy
...
ssh -p 10022 username@127.0.0.1 # from home

I do not trust localhost (at least not on Mac OS X, as it is often times
associated with IPv6 on Mac OS X).

I tried the use of the -p 10022 and it worked. I did not try Chicken of
the VNC, so I can not offer any advice there, unless your problem is
with the use of localhost on the work system.

Bob Harris
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT. The time now is 01:38 AM.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43