Cannot Import VPN connection
My problem was that network-manager-openvpn-gnome was not installed, (weird because I though it would get installed automatically after installing network-manager-openvpn). I installed it and everything was fine.
So, to all people having the same problem make sure that
sudo apt-get install openvpn network-manager-openvpn network-manager-openvpn-gnome
after installing, restart the networking service, e.g. by executing
sudo /etc/init.d/networking restart
My own experience of successful VPN connection establishing on Ubuntu 14.04
Our admin gave me 3 files to install them into openVPN for Windows 7: *.ovpn, *.crt, *.key
-
Execute the following commands in your Ubuntu terminal:
sudo apt-get install openvpn network-manager-openvpn network-manager-openvpn-gnome sudo apt-get install network-manager-vpnc sudo /etc/init.d/networking restart
Open "Network Connections" window (VPN Connections -> Configure VPN)
Press "ADD" button, click on drop-down menu and pick "Import a saved VPN configuration", press Create button.
In "Select File to import" choose your "*.ovpn" file.
In "Editing ...your *.ovpn file name..." window enter your username and password for vpn. Make sure that a *.crt file appeared in CA Certificate field.
Open "IPv4 Settings" panel and choose "Automatic (VPN) addresses only".
Open "VPN" panel again and click "Advanced" button.
Open "TLS Authentication" panel and make sure your "*.key" appeared in "Key File" field. Press Ok button.
Press "Save" button in "Editing ...your *.ovpn file name..." window.
Your VPN connection should appear in "Network Connections" window.
That's all, I hope it helps. Good luck!