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:
This shows the IP Address and country that you are currently connecting from, in this example, the user is connecting from Singapore.
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
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.
Installing OpenVPN Plugin
Next, go to the Ubuntu Software Center and search for Network.
Choose Network (network-manager-gnome) and click on More Info.
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.
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
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.
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.
Click on Add to create the new connection.
Select OpenVPN from the drop down list and click Create.
Editing VPN configuration
You are now required to enter the details in order to establish VPN connection.
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).
In this example, we are connecting to our UK (GBR) servers therefore the servername used is gbr.mypn.co
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
Set Cipher to AES-256-CBC
Set HMAC Authentication to SHA-256
Navigate to TLS Authentication 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.
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.
VPN Successfully Connected!
The Network Manager icon should now have a little padlock icon on it to indicate that the VPN is now 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.
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
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