If it's only for your own use, the simplest way to do this type of setup is SSH port forwarding. You can either give the -L option when starting ssh, or press enter ~? inside an ssh session to add the forwarding after connecting.

It can get a little goofy since each port can only go to one machine:

  ssh -L 3389:machine1:3389 -L 3390:machine2:3389 # etc.

Then rdesktop to 127.0.0.1:3389 or 127.0.0.1:3390 to use remote desktop to that machine.

The biggest alternative is OpenVPN. This makes the VPN transparent so you won't have to manage individual ports manually like the setup above. But, it requires a lot more setup (SSL certificates, routing, etc.)

On Fri, 30 Sep 2011, Justin Walker wrote:

Does anyone have experience setting up VPN servers on Linux machines?

We have a new RAID backup device on the LAN in our office/lab, and I want to be able to access it from off-campus. Our network is set up where we have a single linux machine acting as a gateway server, and then all of the other machines with LAN IP's behind that. The gateway server is the only machine with a WAN IP address. I'd like to be able to VPN into our LAN so I can use the RAID device, but also be able to access all of the machines in the room for Remote desktop and remote administration purposes.

If anyone has any experience with this sort of thing, please give me a shout.

- Justin Walker

Reply via email to