Using AirVPN with Ubuntu Network Manager

Due to multiple, critical problems in network-manager-openvpn which after years have not been solved we recommend to NOT use it. Please understand that we will not provide support to network-manager-openvpn. In GNU/Linux we recommend that you run our free and open source software "Eddie" or OpenVPN directly

Warning: Ubuntu 14.04 has an issue on configuration files import. At 25/04/2014 there's still no fix. Bug Report

Click on any archive format. Save the downloaded archive file somewhere, say in ~/.airvpn. Extract it. Five files should be extracted. Try to make sure nobody but you can read the file user.key, because that one is secret.

Install the package named network-manager-openvpn-gnome, which is a plugin to NetworkManager handling OpenVPN connections. The install will automatically include all needed packages, like openvpn etc.

First download and extract your keys and opvn file from airvpn. Remember where these are, probably in downloads.

Now go to network manager in the tray and choose vpn connections -> configure VPN.

A network connections window will open. Click Add, choose Open VPN in the dropdown, click create.

Name your connection whatever you want.

Now open your opvn file in gedit that you downloaded from Airvpn, it will have the gateway address in it and port number.

You will see next to the word remote will be the address that you will copy and paste into the Gateway field within your newly created OpenVPN connection.

Under Authentication, the type is Certificates (TLS).

User Certificate, CA Certificate and private key will be the files you downloaded from Airvpn. Click the folder icon next to the entry field and browse to their download location.

Now click the advanced button.

Under the general tab tick Use custom gateway port and change it to whatever is listed after the remote entry you typed earlier in the gateway field. Its in the opvn file that you opened in gedit. most likey 443

Tick Use LZO compression.

Now click the security tab, choose AES-256-CBC for the cipher.

Now click the TLS Authentication tab, tick Use additional TLS authentication. Under the key file entry browse to the dowloaded ta.key you downloaded from Airvpn.

Change Key direction to 1 and click OK.

Now click save.

Your entry should now be in the Network connections window under the VPN category. Click close.

Now choose the vpn connection in network manager and Voila you should connect.

Another approach, open the package manager and type in vpn to the search bar. When it comes back, I tagged anything that said it would be useful to complete a vpn connection, in both network manager and otherwise, and supporting packages. Rebooted and got the usual import dialogue as an option in the pulldown menu. Not elegant, but it worked for me. If someone could nail down which missing package invokes the import menu, it would simplify all this but I do not know nor have time to chase it.