VPN – How to Fix ‘Cannot Import VPN Connection’ on Ubuntu 12.04

12.04network-manageropenvpnvpn

Since 12.04 I cannot connect to my VPN. my ovpn file is the following

http://email.uoa.gr/help/download/vpn/edunet.ovpn

When I try to import the VPN file i get the following error

The file 'edunet.ovpn' could not be read or does not contain
recognized VPN connection information

Error: unknown PPTP file extension.

Is there any way arround this error? I have already installed network-manager-openvpn

Best Answer

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