IMPORTANT: you must have an existing openvpn config (.ovpn) to use the information here. If you do not have one please see another guide for setting up an openvpn server / client configuration first.
First install Openvpn with:
# apt install openvpn
Next we should check that your .ovpn configuration is working:
# openvpn --config /path/to/your/client.ovpn
If this has errors please stop this guide and fix the errors before continuing.
Now we just need to move our config to /etc/openvpn
# mv /path/to/your/client.ovpn /etc/openvpn/client.conf
Now the config is in the default location, we can start the systemd service!
# systemctl start email@example.com
To confirm this is working we should see a TUN interface when looking at the output of the below command:
# ip addr show