First of all, you need to connect to your Ubuntu server via FTP and SSH. On Windows you can use WinSCP as FTP and PuTTY as SSH Terminal.
After successfully connecting to your server, make sure to update and upgrade your current server by writing the following:
- sudo apt-get update && sudo apt-get upgrade
Download OpenVPN installer by writing the following:
- wget https://raw.githubusercontent.com/Angristan/openvpn-install/master/openvpn-install.sh
After, downloading OpenVPN grant executable permissions to the file you just downloaded.
- chmod +x openvpn-install.sh
Run the file and leave most of the default values. In the end it will ask you to name your certificate, make sure to give a a solid name. For example openvpn-ubuntu
After finishing the setup process of your VPN, download the certificate to your computer, it should be in your home directory. For example /root/yourname.ovpn
To download your OpenVPN certificate from your Linux server, I would recommend using WinSCP, if you are using Windows.