OVPN configuration files with Linux Mint 17 the easy way

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

OVPN configuration files with Linux Mint 17 the easy way

Postby CarlPH on Sat Jun 28, 2014 9:17 pm

There was a method where you have to copy and paste certain parts of ovpn config files so that the linux network manager
will be able to use them. But is such a pain for linux noobs such as myself. Good thing someone made a openvpn-config-splitter (by Espen Hovlandsdal)
which does most of the work for you. I only tested it with VPN book configuration files so feel free to test it with other config files.

1. Go to http://www.vpnbook.com/ and download http://www.vpnbook.com/free-openvpn-acc ... PN-US1.zip

2. Extract the files

Follow these steps to split the OVPN file (taken from his blog: http://tech.vg.no/2014/02/28/openvpn-co ... k-manager/)

a.) Install OpenVPN along with the OpenVPN extensions:

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

b.)Make sure you’ve got node.js installed
(apt-get install nodejs), and run npm install -g openvpn-config-splitter (you might have to use sudo to install globally).

c.) Run ovpnsplit ~/openvpn/vpnbook-us1-udp53.ovpn

openvpn is the path to your configuration file just replace it as necessary
I used udp53 file because its the one that connected when I tested it.
I also got this warning message which is just ignored: Warning: could not find tlsAuth - configuration might not work as expected

If done right you should be able to see four separate files "ca.crt", "client.key", "user.crt" and a "vpnbook-us1-udp53.split.ovpn"

3. Open network connections, click add

4. select "import a saved vpn configuration"

5. select the altered configuration file with split in its name "vpnbook-us1-udp53.split.ovpn"

6. at the VPN subtab follow these settings:

type: Password with certificate TLS
username: vpnbook
password: get it from vpnbook website
User certificate: user.crt
CA certificate: ca.crt
Private key: client.key
Private key password: leave it blank

Click save and try to connect!
Level 1
Level 1
Posts: 4
Joined: Sat Jun 28, 2014 7:36 pm

Linux Mint is funded by ads and donations.

Return to Tutorials / Howtos

Who is online

Users browsing this forum: No registered users and 9 guests