Configuring OpenVPN Access Server and Connect Client in Ubuntu

OpenVPN Access Server consists of three major components:

  1. OpenVPN Server
  2. Admin Web Interface/Admin UI
  3. Connect Client

OpenVPN Server:

The VPN server is the underlying component in OpenVPN Access Server that does all of the background work; routing, tunneling, encryption, user management, authentication etc. OpenVPN Access Server comes with a Web GUI that helps to manage the underlying components of the VPN server.

Admin Web Interface:

The Admin Web Interface makes for an easier management interface in OpenVPN Access Server. In the Admin Web Interface an administrator can manage options such as layer 2 or layer 3 routing, user permissions, server network settings, authentication and web server certificates. By default an administrator can access the Admin Web Interface by visiting this address in a web browser: https://openvpnasserverip/admin


Connect Client:

The Connect Client Interface is a component of OpenVPN Access Server that allows users to connect to the VPN directly through their web browser. The Connect Client also gives the user options to download their configuration files which can be userd on other OpenVPN clients.


Installing the OpenVPN-AS Package:

Download required version of OpenVPN AS from https://openvpn.net/index.php/access-server/download-openvpn-as-sw.html

$ dpkg -i openvpnasdebpack.deb or [rpm -i openvpnasrpmpack.rpm]


Configuring the Admin Web Interface:


$ passwd openvpn or (sometime $ /usr/local/openvpn_as/bin/ovpn-init)

Admin UI: https://YourIpAddress:943/admin
Client UI: https://YourIPAddress:943/
Browse https://YourIPAddress/admin and then configure other stuffs.


Browse https://YourIPAddress

Download the 'OpenVPN Connect' software by clicking the link. After it has finished downloading, run it and enter your login credentials. And voilĂ ! You are now connected to your OpenVPN Access Server.

For that:

Installing an OpenVPN client:


$ sudo apt-get install openvpn [or sudo yum install openvpn]
$ openvpn --version


Start Client

Login to the Access Server's Client Web Server and download the desired client config file (typically called "client.ovpn"

$ openvpn --config client.ovpn