ssh tunnels and Xvnc - (yes, I know... What? not again!?)
Eric W. Bates
ericx_lists at vineyard.net
Fri Dec 12 12:28:53 PST 2003
paul van den bergen wrote:
> Hi all,
>
> I have a situation that has not been fully addressed by the excellent
> documentation on getting ssh tunnels and remote X-windows display managers
> (like VNC) running. And my feeble brain is too damaged by the dreaded lurgy
> to make heads or tails of it.
VNC probably isn't what you want to run. VNC is very useful and
interesting; but unlike Windoze, you don't need to take over the console
of your machines at work in order to use the FreeBSD machines. I run an
X Server on my Win2k machine and tunnel X back from the remote machines.
The ssh tunnels will daisy chain nicely from work1 to work2.
The X Server we use is decent (copy/paste can be a pain). It cost us
$45/copy from labtam-finland.
I use VNC when I want to run a Windoze machine inside the firewall. I
run the VNC server on the Windoze machine I need to control from home.
The firewall is configured to block VNC. I ssh from home into a unix box
at work, and run the VNC client app on the unix box and connect to the
Windoze box. The VNC client is an X client; so it's window is tunneled
back thru the ssh to my display at home. It can be a bit sluggish; but
it works...
> home machine (home) ---- ISP --- internet --- work firewall --- work machine1
> (additional firewall?) (work1) --- work machine 2 (desktop) (work2).
>
> I can ssh from home to the work1 and ssh from there to work2.
> home runs windows 2k and I have (full) admin access
> work1 and 2 run FreeBSD
> I have root access on work2 but not work 1
>
> I guess I have to:
>
> run Xvncserver on work2
> ssh tunnel (tunnel1-2) from work 2 to work 1
> ssh tunnel (tunnelh-2) inside tunnel1-2
> run vnclistener on home.
>
> any suggestions as to what is actually needed? can someone hold my hand though
> this?
>
>
>
More information about the freebsd-net
mailing list