making FreeBSD phone home via SSH

Matthias Apitz matthias.apitz at
Wed Mar 26 10:30:39 PDT 2008

El día Wednesday, March 26, 2008 a las 10:54:41AM -0600, Elliot Finley escribió:

> Hello all,
> I have an interesting project.  I have several FreeBSD servers that I
> will be deploying to remote locations.  They will be sitting behind a
> NAT.  I would like them to make a SSH connection to a local server
> sitting on a public IP.  I need them connected in a way that will give
> me remote shell access.
> Has anyone done this before?  I'd rather not re-invent the wheel.

Yes, I :-)
You can make SSH connection from the remote servers to your server
(bring them up at boot with RSA auth) and tunnel in them reverse the SSH
port, check the -R flag of ssh(1).

You can also setup OpenVPN as client on the remotes and server on the
your side.

Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <matthias.apitz at> - w
Don't top-post, read RFC1855
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?

More information about the freebsd-questions mailing list