Auto:
https://github.com/Nyr/openvpn-install
Manual:
apt-get update wget http://swupdate.openvpn.org/as/openvpn-as-2.0.21-Ubuntu14.amd_64.deb sudo dpkg -i openvpn-as-2.0.21-Ubuntu14.amd_64.deb
Lay password dang nhap: passwd openvpn
After setup, if you can't login Admin Web UI, run:
sudo /usr/local/openvpn_as/bin/ovpn-init
When you get to the section:
Please specify the network interface and IP address to be used by the Admin Web UI: (1) all interfaces: 0.0.0.0 (2) eth0: YOURPUBLICIP (3) eth0: 10.10.0.8
Make sure you select all interfaces, for some reason it defaults to 2, which makes it not public. Works for me now.