How to configure VPN gateway in Digital Ocean?

Posted December 12, 2018 2.9k views
VPNUbuntu 18.04

I need to create and configure VPN gateway on my Digital Ocean server, I have found an article ‘How To Set Up an OpenVPN Server on Ubuntu 18.04’. Is it possible to create VPN gateway via Open VPN?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


I think that if you follow the steps from this tutorial you would achieve what you are after for:

You can then allow your clients to reconfigure their DNS settings to use the VPN tunnel for as the default gateway.

by Mark Drake
OpenVPN is a full-featured, open-source Secure Socket Layer (SSL) VPN solution that accommodates a wide range of configurations. In this tutorial, you will set up an OpenVPN server on an Ubuntu 18.04 server and then configure access to it from Windows, OS X, iOS and/or Android devices. This tutorial will keep the installation and configuration steps as simple as possible for each of these setups.