The installation of OpenVPN AS is much simpler compared to the traditional OpenVPN (without any GUI). Another great thing about about OpenVPN AS (Access Server) is that it has a mobile application for both Android and iOS platforms, enabling you to access your OpenVPN server on your smartphone as well.
Basic Server Setup
The ports that you need forwarded are as followed.
443, TCP 943, UDP 1194
Installing OpenVPN Acess Server
sudo wget http://swupdate.openvpn.org/as/openvpn-as-2.0.7-Ubuntu12.amd_64.deb
To install OpenVPN AS, enter the following command:
dpkg -i openvpn-as-2.0.7-Ubuntu12.amd_64.deb
That's it. OpenVPN AS is now installed. However, there are still some things left to do before we can use it. During the installation, OpenVPN has created a default admin user called 'openvpn'. We need to set a password for 'openvpn'. To do that, enter the following command:
sudo passwd openvpn
Administration and Client Software SetupReplace "YourIPAddress" with your actual cloud server's IP address. Then, head over to the Client UI to use the access server. You'll see a big bad security warning. But don't be alarmed, it is perfectly okay since we've self-signed our server's SSL. Ignore the warning and click Ok/Proceed and you'll be prompted for username and password. Enter 'openvpn' as the username and the password should be what you've set for 'openvpn' before. After filling out username/password, click 'Go' and you'll see a screen like this:
You can login to the Admin UI if you need to make changes to your access server, although default settings works fine.
Now, have fun with your OpenVPN Access Server!
<span style="font-family: proxima-nova" ,="" sans-serif'="">
As of OpenVPN Access Server v2.0, OpenVPN will no longer uses the 184.108.40.206/20 subnetwork for clients and will use the 172.27.240.0/20 subnet instead.