OpenVPN Access Server consists of three major components:
- OpenVPN Server
- Admin Web Interface/Admin UI
- 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
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.
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.
Installing an OpenVPN client:
$ sudo apt-get install openvpn [or sudo yum install openvpn]
$ openvpn --version
Login to the Access Server's Client Web Server and download the desired client config file (typically called "client.ovpn"
$ openvpn --config client.ovpn