matomo

Save $460 + get an OVPN-tshirt when purchasing the 3-year subscription
Disconnected

Guide to install OpenVPN for Ubuntu

This guide is also available in Svenska, Deutsch and Norsk

Last updated: August 24, 2020

1. Change DNS server

Follow these instructions to change to our DNS servers in Ubuntu

2. Open system settings

The first thing you need to do to connect to our VPN-tunnel is to open system settings.

Once you open System settings, click Programs & updates.

Make sure universe is activated.

If you receive a message about a software update, please approve it.

If you receive a message asking for authentication, please enter you passwords.

Why OVPN?

OVPN is a court-proven VPN service that offers secure internet without country or streaming restrictions, and where ads no longer track your every move.

Learn more

3. Open a new CLI

You can open a new CLI by pressing Ctrl + Alt + t at the same time, or by searching after a CLI.

Enter the following command to install needed components:

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

Restart the network-manager by typing:

sudo service network-manager restart

4. Download the configuration you want


Double-click the file to extract the content.

5. Configure the VPN-connection

Click the network icon in the upper right corner of the activity field and choose VPN-connections → Configure VPN.

Click Add

Choose Import a saved VPN configuration...

Open the folder where you isntalled the configuration files, and choose ovpn.conf

6. Enter your username and password and continue configuration

Enter the username and password you used when creating your OVPN account.

Go to tab Settings for IPv4, and choose Only automatic (VPN) addresses.

You can make the same settings for IPv6 if you are using that.

Go back to VPN-tab and click Advanced. In the new window that opens, go to the tab named TLS-authentification.

Choose Use another TLS-authentication, and choose the file ovpn-tls.key.

The last step is to enter the Key direction to 1.

Save all the configurations you have made by clicking OK, and then Save.

7. Connect to OVPN

Click the network icon in the upper right corner of the activity field and choose VPN-connections → ovpn.

If the connection is successful you will see:

8. Finished

You should now be connected to OVPN and be able to browse the internet safely. To make sure everything was set up correctly, please check the dashboard to verify that you are connected.