OpenVPN Client on Ubuntu - CloudCommandos/JohnChan GitHub Wiki

Install OpenVPN

apt update
apt install openvpn

Move OpenVPN credential files into `/etc/openvpn/client/'.

mv openvpn_files /etc/openvpn/client/

Register your credential

cd /etc/openvpn/client/openvpn_files
openvpn --config client.opvn

If there is an error message OpenSSL: error:140AB18E:SSL routines:SSL_CTX_use_certificate:ca md too weak and you would like to bypass that requirement.

nano /etc/openvpn/client/client.opvn

#...
tls-cipher "DEFAULT:@SECLEVEL=0"