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
Please launch Terminal which you can access via Applications -> Accessories -> Terminal
Run the following command below to install all the OpenVPN dependencies.
sudo apt-get install network-manager-openvpn-gnome
Note: If the above command doesn’t work, try running the commands below and try again the command above.
sudo add-apt-repository universe
sudo apt-get update
You will be prompted: Do you want to continue? [Y/n]. Type Y and hit Enter. Once installation is complete, restart Network Manager by typing:
sudo service network-manager restart
Download the OpenVPN configuration files from the link below. Please choose the appropriate configuration(s) based on your plan. i.e. If you’re subscribed to our GBR plan, you will need to download our MPN_GBR.ovpn configuration file. You can check what file corresponds to which server at our list.
Note: You may need to right click on the link(s) 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 and choose Edit Connections.
Click on Add to create the new connection.
Select Import a saved VPN configuration from the drop down list and click Create.
Now, select the VPN configuration that you’ve downloaded earlier and click on Open. In this example, I’ve downloaded our MPN GBR file.
Editing VPN configuration
You are now required to enter your MPN username and Password.
Once you’ve entered your account details, click on Save.
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. i.e. MPN_GBR
The icon should animate for a while and then have a little padlock on it to denote that the VPN has connected.
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
Note: If you wish to use our Free service, the servername that you need to use is fre.mypn.co and your connection will be rotated between different countries we have in our Free VPN cluster.
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