How To Install OpenVPN Server on Ubuntu 14.xx or 15.xx


OpenVPN is an open-source software application that implements virtual private network (VPN) techniques for creating secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities. It uses a custom security protocol that utilizes SSL/TLS for key exchange. OpenVPN uses the OpenSSL library to provide encryption of both the data and control channels. It lets OpenSSL do all the encryption and authentication work, allowing OpenVPN to use all the ciphers available in the OpenSSL package. Shortly saying, it is a free mechanism and tool to allow you to browse securely and privately plus it allows you to unblock browsing restriction, avoid website censorship, and to hide your real IP (location).

What you need?

  1. A VPS / Dedicated server running any version of Ubuntu 14.xx or 15.xx
  2. 512MB Ram is recommended however it should be fine with just 128 MB RAM
  3. If somehow you are using an OpenVZ-based VPS, you have to enable TUN/TAP options in your VPS control panel (e.g: SolusVM). Dedicated server, Xen and KVM users do not need to enable TUN/TAP.

Installing OpenVPN Acess Server

Step 1: Login to your server using putty as root

Login as root















Step 2: To make sure your Ubuntu’s repository is updated, simply do the apt-get update

Command: sudo apt-get update

update system












Step 3: Download the OpenVPN package:

If you are using 32Bit version of Ubuntu use command A and command B

Command A: sudo wget




Command B: dpkg – i openvpn-as-2.0.21-Ubuntu14.i386.deb



If you are using 64Bit Version of Ubuntu execute command C and D

Command C: sudo wget

download 64bit openvpn












Command D: dpkg -i openvpn-as-2.0.21-Ubuntu14.amd_64.deb

unpack openvpn installation files












Step 4: That’s it. OpenVPN is now installed. We need to set a password for user ‘openvpn’ which is created by Openvpn installation.

To do that, enter the following command: sudo passwd openvpn

password reset openvpn




Web Interface and Client Software

OpenVPN web interfaces can be found at:

Admin UI (Login using username ‘openvpn’ and password you set before): https://YourServerorVPNIpAddress:943/admin

Client UI (Visit after login once using admin UI): https://YourServerorVPNIpAddress:943/

Do not forget to follow us on Twitter to get notified for new posts. Thanks