Setting up our SSL OpenVPN service on an Ubuntu machine should be straight forward with these simple step-by-step instructions.

Before you start make sure your system is connected to the internet and that you are able to browse the web. We’ve updated the instructions and tested on Ubuntu 16.04 (Xenial Xerus) to confirm the steps but the principles should apply to most Debian based Linux systems.

Not yet registered? It’s quick and easy, give our 3-Day Free Trial a try now!

Make sure your system is connected to the internet

Make sure your system is connected to the internet and that you are able to browse the web. To check your location, please go to our IP Info page, or alternatively go to our homepage and scroll down to this section:

check your current IP Address

This shows the IP Address and country that you are currently connecting from, in this example, the user is connecting from Singapore.

Getting Started

First of all, please ensure that the OpenVPN package that is installed on your system is the latest one, or at least on version 2.3.4 for our updated OpenVPN connection to work.

If you are on Ubuntu 15.10 (Wily) and above, the packaged OpenVPN for these releases should work with our updated configurations.

To check this, please open your Terminal and type;

openvpn – -version

Ubuntu OpenVPN version
Look at the output and if it’s on OpenVPN 2.3.4 and higher, proceed with the steps below.

NOTE: If you do not have the OpenVPN package installed, please refer to our knowledge base article below on how to install and update the OpenVPN version on your system.

How to update OpenVPN package for Linux (Debian)

Installing OpenVPN Plugin

Next, go to the Ubuntu Software Center and search for Network.

Choose Network (network-manager-gnome) and click on More Info.

Ubuntu OpenVPN install network manager

In Add-ons, please ensure the OpenVPN plugin GNOME GUI is checked and then click Apply Changes.

The system will now download the OpenVPN plugin into your system.

Ubuntu OpenVPN add-ons installation

Note: If you’re on Ubuntu 16.04 LTS (Xenial Xerus) or any other Debian machine which is not able to download the OpenVPN Plugin via Software Center, please launch Terminal and run the following command below to install all the OpenVPN dependencies.

sudo apt-get install network-manager-openvpn-gnome

Connection configuration

Download the ca.crt certificate file and tls-auth.key file from our website.

To do so, right click on the links below and choose Save Link As to save the file on your system.

CA Certificate


Head back to your desktop and select the Network Manager icon in the top right hand corner.

Click on VPN Connections and Configure VPN.

If you can’t see the Network Manager icon, you can open network manager by clicking on System > Preferences > Network Connections and click on the VPN tab.

Ubuntu configure OpenVPN

Click on Add to create the new connection.

Ubuntu OpenVPN add vpn

Select OpenVPN from the drop down list and click Create.

Ubuntu OpenVPN connection type

Editing VPN configuration

You are now required to enter the details in order to establish VPN connection.

Ubuntu OpenVPN settings

The connection name can be anything, but we suggest you make it something pertinent, for example MPN GBR (or MPN USA for our US service).

Note: If you wish to use our Free service, the servername that you need to use is and your connection will be rotated between different countries we have in our Free VPN cluster.

In this example, we are connecting to our UK (GBR) servers therefore the servername used is

If you are subscribed to a different plan or wish to connect to a different location, please refer to our complete list of available servers

Change the Authentication type to Password.

Enter your MPN username and Password.

Expand the CA Certificate and choose the ca.crt file you downloaded earlier.

VPN Certificate settings


Click on the Advanced button and select the Security tab
Ubuntu OpenVPN Security tab

Set Cipher to AES-256-CBC

Set HMAC Authentication to SHA-256

Navigate to TLS Authentication tab

Ubuntu OpenVPN TLS Settings tab

Expand the Key File option and select the downloaded tls-auth.key file that you’ve downloaded earlier.

Ensure all the other settings are as per screenshot and click on OK

Connecting to VPN

In the icon area in the top right of the screen, left click on the Network Manager icon again.

Choose VPN Connections and click on the connection you have just created.

Ubuntu connect to OpenVPN

The icon should animate for a while and then have a little padlock on it to denote that the VPN has connected.

Authenticate the connection with your My Private Network password as necessary.

Ubuntu OpenVPN enter password

VPN Successfully Connected!

The Network Manager icon should now have a little padlock icon on it to indicate that the VPN is now connected.

Ubuntu OpenVPN connected

If you now browse our homepage or check your IP address again from the IP Info page, your location should show that you are now in the UK (or which ever country you have connected to).

That’s it. You have now setup your computer to connect to our OpenVPN service and all your internet traffic will now be transmitted securely via our servers.

Other locations

If you want to connect to any of our other servers, i.e. our USA servers, simply change the server name, please refer to our complete list of servers

Note: If you wish to use our Free service, the servername that you need to use is and your connection will be rotated between different countries we have in our Free VPN cluster.

Any problems?

Unfortunately it doesn’t always go to plan!

If you have any problems or can’t get connected, first please reboot your system and see if that resolves the problem.

Failing that, please type this command into your Terminal and run the VPN:

tail -f /var/log/syslog

Take a screenshot of the connection log and email us at This e-mail address is being protected from spambots. You need JavaScript enabled to view it and we’ll get back to you as soon as possible to assist you.