----- Original Message -----
From: "David T-G" <[EMAIL PROTECTED]>
To: "VNC list" <[EMAIL PROTECTED]>
Cc: "William Hooper" <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 7:52 PM
Subject: Re: vnc proxy?


> William --
>
> ...and then William Hooper said...
> %
> % > Yeah.  Now as I understand it I'd have to assign different ports on
the
> % > gateway for each server in the house -- something like
> % >
> % >   51900:localhost:5900 win1 # "display" 00 on win1
> % >   52904:localhost:5902 linux2 # display :4 on linux2
> % >   57900:localhost:5900 win7 # "display 00 on win7
> % >
> % > or so -- to avoid port confusion, right?
> %
> % The VNC client sets up the port forwarding, not the gateway.  All
traffic
> % too and from the gateway goes through SSH port 22.
>
> Hmmm...  OK; port 22 (the ssh port) makes sense.  I'm not sure what I
> tell the client, though.  For those three machines above, how do I set
> things up?  Do I just use the grammar above but on the viewer machine,
> and then tell vncviewer to connect to the proper port on the gateway each
> time?
>
> Darn.  Now I'm confused.  Back to the books, I'm sure.  The problem with
> having done this two years ago is that one remembers just enough to be
> dangerous ;-)

You set up the forwarding using Putty.  I would suggest something a little
easier to get the VNC viewer to connect to like:
  5902:win1:5900 # "display" 00 on win1
  5903:linux2:5902 # display :4 on linux2
  5904:win7:5900 # "display 00 on win7

So you have VNC "display" numbers.  Then in the vncviewer you connect to the
SSH tunnels by using localhost:display like:
localhost:2 # win1
localhost:3 # linux2
localhost:4 # win7

This way you are not opening any extra ports on your router at all.
There is a very good tutorial on this put together by a member of the
TightVNC list at http://www.benjamin.weiss.name/putty-tunnel.html , but it
is hosted on his desktop and appears to be unavailable at the moment.

--
William Hooper

Make it idiot-proof and someone will make a better idiot
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to