On Wed, 13 Feb 2002 13:08:12 -0600 (CST), dssyenon <[EMAIL PROTECTED]> wrote:
> 
> A config summary:
> 1. vncserver -localhost running on linuxbox:5901
> 2. vncviewer running on windowsbox
> 3. windows ssh client set to forward windowsbox:5902 to linuxbox:5901.
> 
> If I'm understanding correctly, are you saying #3 is wrong?  I'm guessing
> that's because linuxbox's vncserver was started with -localhost, so it
> won't accept a connection from windowsbox:5902.

Number 3 above is wrong because it say linuxbox:5901 and not
localhost:5901 (linuxbox:5901 it will use the eth0 net - whichever its
IP is, and not the l0 net - the loopback net, always 127.0.0.1).

I mean you're ssh line should be like:
ssh -L 5902:localhost:5901 -l linux.dns.name

The "localhost" above must be used LITERALLY !!!!
            
> Would I then need two tunnels?

No need AT ALL.

> Since windowsbox:5902 forwards to linuxbox:5902 and linuxbox:5902 is local
> to vncserver on linuxbox:5901, that gets around the -localhost requirement.

No. This wouldn't work either because it still uses the eth0 IP.

> My reasoning is apparently flawed, because this didn't work either.

How can I say it more clearly ? You must use "localhost" or the IP
address "127.0.0.01 " LITERALLY, you can not use the machine name.

Ehud.


-- 
 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 mailto:[EMAIL PROTECTED]          Better  Safe  Than  Sorry
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to