How to Set up OpenVPN on Linux Cloud Server
If you are looking forward to set up OpenVPN, first you need to connect to your Cloud using your SSH client.
To Install the OpenVPN-AS package in Ubuntu or Debian you will need to run this command:
To install the OpenVPN-AS package in CentOS, RHEL, or Fedora you will need to run this command:
The Admin Account for OpenVPN-AS needs to be setup through terminal by doing the following:
Change the password:
You will then be prompted to set a password for the user openvpn, after setting the password you can login to the Admin UI with the Username openvpn and the password you set.
Now you are able to create your own OpenVPN administrator password by typing it twice so that no mistakes arise.
It’s finally the time to access your OpenVPN configuration page with the admin UI url.
Now use the Admin UI and paste it to your search window. You might get a notice informaing you that there is a problem with the website’s security certificate, but click Continue to the website so as to access login page.
As you are redirected to your OpenVPN login with your created password (the username will be openvpn). Press Sign in button to login.
When you are already at your OpenVPN account click Agree which assures that you have read the license agreement.
Now you are able to configure the OpenVPN settings depending on your needs and start the whole server. Good luck!