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
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!