SSH tunnel question

Neil Joseph Schelly neil at jenandneil.com
Wed Feb 27 17:41:08 EST 2008


On Wednesday 27 February 2008 11:56, Steven W. Orr wrote:
> Sometimes I just get lucky here. :-)
>
> I'd like to establish a tunnel from work to home so that if I wanted to I
> can then get access from home. I'm thinking that ssh has this capability
> but i never learned how to do it. Does anyone know how to do this? Or is
> there a better way besides ssh?

Well, unless you're stuck on SSH for one reason or another, I'd approach this 
with OpenVPN.  It will be a little more seamless when it's setup.  Basically, 
I'd make an OpenVPN host of your home machine.  Then, your work machine can 
be connected to your home machine on bootup relatively easily.  If your work 
machine is online, then you can access the work machine by IP address as if 
it were on your local network, without having to explicitly forward 
particular ports or run other protocols through the SSH channels.

If you're interested, I could post a few sample configs that should get you 
started - it's not too hard to figure out and I'm guessing there are more 
than a few how-tos out there to do exactly what you're asking.
-N


More information about the gnhlug-discuss mailing list