I have a Linux server in my office building. I want to run a VPN server on there, so I can connect to that from my laptop and connect to the outside world from my office, regardless of where I'm actually located.

I don't have any advanced requirements, I don't need any particular features other than just being able to connect remotely.

So my question is: what is a good, simple, easy to setup, and preferably open source VPN server which I can install and run on a Linux (Ubuntu 20.4) server. So I can then connect to it from my Macbook (macOS 10.15) or other clients from remote locations, and use my office's internet connection to connect to the rest of the world.

In case it matters: the server is my own, I have root access, and I can create a dedicated user account with required privileges if that's necessary to run a VPN server.

  • Checkout Wireguard. Much faster than OpenVPN, should be easier to configure as well - works great on Android mobile phone as well.
    – Lockszmith
    Nov 11, 2021 at 6:09

2 Answers 2


OpenVPN would probably be your best choice. A good starting point might be here.

However, I would note that it involves a fair bit of know-how and configuration to set up your own VPN on an internet-facing server and have it be sufficiently secure.


OpenVPN is a good option but not the only one. If you find the traditional (manual) setup too daunting technically a good option is OpenVPN Access Server.

You've got 2 simultaneous VPN connections and a web-based configuration interface. OpenVPN Access Server Quick Start Guide

Possible alternatives are: WireGuard, StrongSwan.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.