OpenVPN Access Server is known for being the easiest VPN connection that makes the setup on CentOS and Debian super easy. This is a short setup that requires one to follow the few simple steps below to completion.
1. Update your VPS
It is always advisable to update the VPS first and foremost so that it feels new with the latest packages just before the installation of any new software. The best way to update the VPS is to log in to your VPS with SSH, and depending upon your operating system, run one of the following commands:
CentOS:
yum update -y
Debian:
apt-get update
Step 2: Downloading the OpenVPN AS Software
For installing this particular software, the method deviates slightly depending on the flavour of the OS you are using. You can use the following wget
command to download the OpenVPN AS software:
CentOS 6:
wget http
**For CentOS 7:**
```bash
wget http://swupdate.openvpn.org/as/openvpn-as-2.0.10-CentOS7.x86_64.rpm
For Debian 6:
wget http://swupdate.openvpn.org/as/openvpn-as-2.0.10-Debian6.amd_64.deb
For Debian 7:
wget http://swupdate.openvpn.org/as/openvpn-as-2.0.10-Debian7.amd_64.deb
3. Install OpenVPN AS
Once the download is complete, proceed with the installation using the commands below:
For CentOS:
rpm -ivh openvpn-as-[version].rpm
For Debian:
dpkg -i openvpn-as-[version].deb
4. Post-Installation
After the installation is complete, be sure to read the post-installation message displayed in your SSH terminal. This message contains important information, including login details and additional instructions.