Installing OpenVPN AS on Centos VPS
STEP 1: Turn on TUN/TAP device. How to do this:
https://support.vpsget.com/index.php?/Knowledgebase/Article/View/62/0/how-to-enable-tuntap-ppp-on-your-vps
STEP 2. Download and install the package.
Download a desired package:http://openvpn.net/index.php/access-server/download-openvpn-as-sw.html
In our case we need one for Centos:
wget http://swupdate.openvpn.org/as/openvpn-as-2.0.12-CentOS6.i386.rpm
Install rpm:
rpm -i openvpn-as-2.0.12-CentOS6.i386.rpm
In case of success you should see something like that:
[root@server tmp]# rpm -i openvpn-as-2.0.12-CentOS6.i386.rpm The Access Server has been successfully installed in /usr/local/openvpn_as Configuration log file has been written to /usr/local/openvpn_as/init.log Please enter "passwd openvpn" to set the initial administrative password, then login as "openvpn" to continue configuration here: https://192.168.1.2:943/admin To reconfigure manually, use the /usr/local/openvpn_as/bin/ovpn-init tool. Access Server web UIs are available here: Admin UI: https://192.168.1.2:943/admin Client UI: https://192.168.1.2:943/
Set admin password:
passwd openvpn
That's it.
Now you can login to https://192.168.1.2:943/admin
username: openvpn
password: <password you've just set>