The VikingVPN Ubuntu Connection Guide

Check out our 13.10 (Saucy Salamander) installation guide on YouTube! https://www.youtube.com/watch?v=6l4AknUTTCk

This guide will help you get connected to our VPN service on newer (as of this writing) versions of Ubuntu. This guide assumes that you are using a client version of Ubuntu and are using a mostly stock build of Ubuntu. This process should work in most versions of Linux, but we only officially test the process in Ubuntu. This guide was last updated on the 31st of March 2015.

For this guide you will need:

A PC with the Ubuntu operating system (this guide has been tested on 12.04-15.04)

The VikingVPN configuration file from our website

basic understanding of terminal commands

We will start by opening the terminal and downloading OpenVPN.

To open the terminal, click on the Ubuntu logo in the upper-left corner of the screen. Type "terminal" in the search bar and select terminal to open the terminal window.

In the terminal window type "sudo apt-get install openvpn" and follow the dialogues that appear. It will ask you for your password, and figure out dependencies on its own and then ask you if you are sure you want to install. Type "y" and hit enter.

Once the installation is finished we will need to place the desired OpenVPN file into the directory that OpenVPN looks to for configurations.

Getting your config file, and renaming it for Linux use, and then importing it to OpenVPN.

Next, you will get the VikingVPN configurations from the website. You do this by signing in to your account on our site, and clicking on the "profile" tab.

Inside of the profiles area you will see the option for "need a new connection certificate?". Click there to download your new set of config files, and accept the warning that any older files will be revoked.

Now you will download a zip file. Select a place to save the zip file (check your downloads folder if your browser doesn't ask). Once downloaded, unzip the files by double clicking on VikingVPN.zip. This will create a folder with all of our config files for our various locations around the world.

Select the .ovpn file that you'd like to use (remember that the closest locations to you will perform the best) and copy it to the directory /etc/openvpn

Rename the file from LOCATION.ovpn to LOCATION.conf this is a legacy problem with the Linux version of OpenVPN that they do not accept ovpn files.

To do this in the terminal after you have copied your ovpn file to /etc/openvpn, type the following:

sudo mv /etc/openvpn/LOCATION.ovpn /etc/openvpn/LOCATION.conf

This simply renames your ovpn file to a conf file that the Linux version of OpenVPN will read properly.

How to start OpenVPN from the command line.

Now that all of the files are set up and the app is installed, we can run OpenVPN for the first time.

In the terminal type the command:

sudo /etc/init.d/OpenVPN start

This will enable OpenVPN and begin tunneling all of your traffic to VikingVPN.

sudo /etc/init.d/OpenVPN stop

Will make OpenVPN stop tunneling your traffic and return your network to normal operation.

Checking Your Secure VPN Connection

To make sure the VPN is working properly, open a private browser window in Firefox (or Incognito in Chrome) and go to Google.com and search for "my ip". This IP address should be different from your normal one when the VPN is enabled.

Enjoy your free and open internet!!