Sunday, August 15, 2021

Solving ''missing vpn plugin error" in ubuntu 20.04

I was trying to configure l2tp VPN on my Kubuntu 20.04 connecting to my office Mikrotik router, after setting up l2tp VPN on my router and configure it on my laptop, when connecting I got "missing VPN plugin" after few Google searches were able to resolve it, and simple solution is Ubuntu 20.04 was missing "network-manager-l2tp". 

So first I run the command below to see allow available plugins for network-manager 

$ apt search network-manager

 The command will list all the plugins including the l2tp plugin 

 ----- output omitted --- 

network-manager-iodine-gnome/focal 1.2.0-3 amd64 network management 
framework (iodine plugin GNOME GUI)
network-manager-l2tp/focal 1.2.16-1 amd64 network management 
framework (L2TP plugin core)
network-manager-l2tp-gnome/focal 1.2.16-1 amd64 network management 
framework (L2TP plugin GNOME GUI) 

 ----- output omitted --- 

 As I was only requiring the l2tp plugin for my VPN I installed only the required plugin for my l2tp VPN to work, for l2tp VPN install the plugin as below:

$ sudo apt-get install network-manager-l2tp 

So if you're running another type of VPN, install the required plugin.

Hope it will help someone. Cheers!