OpenVPN Access Server as described on Official website – is a full featured SSL VPN software solution that integrates OpenVPN server capabilities, enterprise management capabilities, simplified OpenVPN Connect UI, and OpenVPN Client software packages that accommodate Windows, MAC, and Linux OS environments. OpenVPN Access Server supports a wide range of configurations, including secure and granular remote access to internal network and/ or private cloud network resources and applications with fine-grained access control.
Note: This installation was carried out on Ubuntu 14.04 Trusty Tahr using Ubuntu 13.10 Saucy Salamander install package and it worked
Step 1: Download and Install Latest Version
32bit OS
$ wget http://swupdate.openvpn.org/as/openvpn-as-2.0.7-Ubuntu13.i386.deb
$ sudo dpkg -i openvpn-as-2.0.7-Ubuntu13.i386.deb
64bit OS
$ wget http://swupdate.openvpn.org/as/openvpn-as-2.0.7-Ubuntu13.amd_64.deb
$ sudo dpkg -i openvpn-as-2.0.7-Ubuntu13.amd_64.deb
Step 2: Set OpenVPN AS Admin Password
$ sudo passwd openvpn
Step 3: Log into OpenVPN Access Server Admin Page
https://<ip address of your VPN Access Server machine>:943/admin</ip>
- Enter username and password
- Accept Agreement
OpenVPN Admin Console
Step 4: Create new User Account
- First add new user locally on the VPN server
$ sudo useradd sysuser
$ sudo passwd sysuser
- Click on ‘User Permissions‘ under User management, enter new user account. If user is also an Admin, then check the Admin box and ‘Allow Auto-login‘ if you do not want user to enter password every time
- Save your settings and click ‘Update Running Server‘
Step 5: Connect Client to OpenVPN
From a Linux (Ubuntu) Machine
- Access the URL
https://<ip address of your VPN Access Server>:943/</ip>
- Download the autologin profile. This would be saved in your Downloads directory “/home/<username>/Downloads/“
- Install OpenVPN on client machine
sudo apt-get install openvpn
- Connect to OpenVPN from client machine
openvpn --config /home/'your username here'/Downloads/client.ovpn
From a Windows Machine
- Access the URL
https://<ip address of your VPN Access Server>:943/</ip>
- Enter client username and password. Select ‘Login’ and click Go
- First download OpenVPN Connect for Windows and then install it. After installation is completed, you would have the OpenVPN icon on your desktop
- Launch the OpenVPN client, click Yes if you get a warning for UNVERIFIED profile (I believe this is due to the certificate)
- After few seconds, you will get a notification saying the VPN connection had been established
- You can also confirm the connection by clicking on Current Users in admin page
And that’s it.