On 10/10/06, Mark Shields <[EMAIL PROTECTED]> wrote:
I have a gentoo box setup as a router with 3 servers behind it (all 4
servers are running gentoo).  Right now I simply have port 5901 to forward
from the router to my vnc server so I can access it remotely.  I've looked
on the gentoo forums and online but haven't been able to find any solid
information on how to tunnel 5901 through ssh through the router to the vnc
server.  Basically, client -> router -> vnc server port 5901, but over ssh.
Any ideas?

You want ssh port forwarding....you can read the ssh man page, but
basically you want:

# ssh -L localhost:5901:remotehost:5901 &
# vncviewer localhost:5901

HTH,
-Richard
--
[email protected] mailing list

Reply via email to