Setup VPNUK OpenVPN on Linux

This tutorial describes how to configure and setup an OpenVPN connection in Ubuntu GNU/Linux using the network manager. Firstly, you will need to install the Ubuntu OpenVPN VPN package, we'll go through that with you here in this tutorial.

Download the VPNUK config files

Click here to download the OpenVPN configuration files. You can also download these files from our downloads page and your control panel here.

1. Install OpenVPN

Install the OpenVPN package is from the command line: sudo apt-get install network-manager network-manager-openvpn

2. Download Config Files

Download and extract the config files then save them to a safe location. The files are available for download from here: OpenVPN config files

3. Configure VPN

Click onto the 'Network Manager' icon to open the network connections overiew, then click onto 'Configure VPN' from the 'VPN Connections' sub menu.

4. Add New Connection

Click onto the 'Add' button to begin the OpenVPN installation.

5. Choose Connection Type

Click onto 'OpenVPN' from the available connection types dropdown and then click onto the 'Create' button.

6. Connection Name

Enter a friendly name for the new OpenVPN connection.

7. Gateway IP Address

Enter a server IP or Address of the server you would like to connect to. Clients on our Shared IP accounts can enter any of our servers. If you have an account on the Dedicated IP platform please enter the IP that corresponds to your unique IP Address. You can find the server information in your 'Welcome to VPNUK' email or in the 'Client CP' on the VPNUK website.

8. Authentication type

Select 'Password' as the authentication type.

9. Login Details

Enter your VPNUK login details into the 'Username' and 'Password' fields.

10. CA Certificate

Click onto the CA Certificate drop down and go to the download location of the config files you downloaded earlier.

11. Select CA file

Select the 'ca.crt' file.

12. Advanced Options

Click onto the 'Advanced' button.

13. General Options

Click the option to 'Use LZO data compression.
Note: This connection will be setup using the OpenVPN default UDP protocol. You can also use TCP over port 443, 80 or 8008

14. General Options

Click ontyo the TLS Authentication tab.

15. General Options

Locate the ta.key file from the OpenVPN config folder you downloaded earlier.

16. Key Direction

Set the Key Direction to 1.

17. Close Network Connections

Thats It!! Click onto 'Close' to exit the Network Connections overiew. Your OpenVPN connection has now been setup.

18. Connecting to VPNUK through OpenVPN

Go to the Network Manager and Click onto the VPN connection friendly name you have just created from the 'VPN Connections' sub menu.

19. Connection Icon

Once connected to the VPN a small padlock will appear on the Network Manager icon.

Screencast Tutorial

Troubleshooting Guide

Your VPNUK account should work first time, everytime. If you ever experience any problems with your VPN connection the first thing we urge you to do is contact us on our Live Help service, we can offer instant assistance with all connection issues and get you back online. The following is a basic troubleshooter for the more common issues that can arise from our VPN service.

ISP DNS Hijack / DNS Leak Protection

Some ISPs will attempt to hijack your DNS settings which hinders the VPN connection from functioning correctly. If you find that your VPNUK connection does not route your traffic correctly you can try changing your Public DNS server to the VPNUK DNS server or to an alternative like Google DNS.
1. Go to the VPNUK connection and click Edit, in the window that appears, select the IPv4 Settings tab.
2. If the selected method is Automatic (DHCP), open the dropdown and select Automatic (DHCP) addresses only instead. If the method is set to something else, do not change it.
3. In the DNS servers field, enter the VPNUK Public DNS server: or the Google Public DNS IP addresses: and
4. Click Apply to save the change.

Contacts & Social
Correspondence Address:
VPNUK Limited
Office B0245
265-269 Kingston Road
SW19 3NW
United Kingdom

Telephone Contacts
INUM: +883 510 001 193 452
UK: +44 203 608 6599
USA: +1 702 9240633
Spain: +34 902 848 027

Social Media
Join the discussions with VPNUk on Twitter Follow us on Facebook Follow us on Google Plus Watch out setup tutorials on the VPNUK You Tube channel Connect with VPNUK on Linkedin Connect with VPNUK on instagram

UK - USA - Switzerland
Germany - Spain
Australia - Canada
Netherlands - France
Italy - Hong Kong
Denmark - Ireland
Sweden - Russia
Luxembourg - Poland
Singapore - Iceland
Panama - Egypt
Israel - India - Japan


Sign up to our newsletter and we will keep you up to date with all the latest news, reviews and service updates.

Static VPN IP Accounts
Dynamic VPN IP Accounts
Online TV Film & Sport
SmartDNS Services
Live TV Service
Online Security
Geo Location
Personal Firewall

Copyright © VPNUK Limited 2017 | Registered in Belize Company No 144643