Stunnel + OpenVPN Server on Ubuntu 18.04
My documented journey as I go through the entire process of setting up Stunnel + OpenVPN on Ubuntu 18.04.
Pre-requisites
The article assumes you already have a Ubuntu 18.04 machine setup somewhere, maybe with one of the cloud providers.
If you are looking to install this on Ubuntu 16.04, look at my previous article. There are quite a number of differences, so if you are looking to use this on 18.04, read on.
Installing OpenVPN and Stunnel
We will be installing these applications. OpenVPN and Stunnel from the package repository. Also, we are going to update the latest version of OpenVPN
$ sudo -s$ apt-get install openvpn stunnel4$ wget -O - https://swupdate.openvpn.net/repos/repo-public.gpg|apt-key add -$ echo "deb http://build.openvpn.net/debian/openvpn/stable bionic main" > /etc/apt/sources.list.d/openvpn-aptrepo.list$ apt-get update
$ apt-get upgrade