skip to Main Content

I just removed and installed openvpn again and now there’s no option of openvpn here, which was here earlier:

openvpn option not available

Also I get following when I go into vpn setting:

Error on vpn configuration

I am unable to connect to vpn.

I tried re installing openvpn with this command:

sudo apt install openvpn

and it says already installed to the latest version.
I also reinstalled network manager.

2

Answers


  1. Chosen as BEST ANSWER

    Ok one thing worked for me: Run the following command:

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

    and now this:

    nm-connection-editor
    

    It will inform what other dependencies are missing. In my case, it told me to run this command:

    sudo apt install network-manager-gnome
    

    then I ran sudo apt update and upgrade, and vpn got connected.

    The other issues are solved as well, I am still unable to access the internet but this might be other issue.


  2. Try NMCLI if you do not know!

    The first step is to install all of them:

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

    If you don’t use the ‘nmcli’ command, You need to say hello to that…

    Just all you need, is to import the VPN file by this command:

    nmcli c import type openvpn file file.ovpn
    

    It’s easy enough

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search