Jump to content

How To Install OpenVPN Access Server on Ubuntu Server


brent
 Share

Recommended Posts

This guide was created on Ubuntu 12.04. This has also been tested on 16.04

Introduction:
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 (Visit openvpn.org for latest version)

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:
openvpn.jpg
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!

 

https://domain.com:943/admin/
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...