How to install Network Manager L2TP in Ubuntu

Network Manager L2TP is a powerful network utility especially for configuring VPN

Network Manager-l2tp is a powerful VPN plugin for managing the network. It provides support for Layer 2 Tunneling Protocol. L2TP and L2TP/IPsec connections are must-have network tools especially if you are using VPN. This includes compatibility with Microsoft and other L2TP VPN servers.

Let me quickly put together how to install this utility in your Ubuntu PC. Once installed, you will see an additional L2TP option in addition to the existing PPTP.

Network Manager L2TP tool
Network Manager L2TP tool

Network Manager L2TP tool
Network Manager L2TP tool

Installing Network Manager L2TP in Ubuntu 14.04 and 16.04

In these cases, you need to add nm-l2tp/network-manager-l2tp PPA.

Step 1) Launch the Terminal. You can use the CTRL+ALT+T keyboard shortcut.

Step 2) Copy and paste the following command to add the PPA.

sudo add-apt-repository ppa:nm-l2tp/network-manager-l2tp

Step 3) Let’s update:

sudo apt update

Step 4) Finally, install network-manager-l2tp:

sudo apt install network-manager-l2tp network-manager-l2tp-gnome

Installing Network Manager L2TP in Ubuntu 17.04 and above

Ubuntu 17.10 and later (including Ubuntu 18.04) ship with network-manager-l2tp and network-manager-l2tp-gnome packages in their official repositories. Hence, there is no need to add a PPA.

Step 1) Launch the Terminal. You can use the CTRL+ALT+T keyboard shortcut.

Step 2) Enter the following command and press enter:

sudo apt install network-manager-l2tp-gnome

In case you get an error that package is not found and so installation is failed, you should probably add the official “Universe” repository source to your Ubuntu PC.

sudo add-apt-repository universe
sudo apt update

Now you should be able to execute the Step (2) successfully.

Kiran Kumar
Hi there! I'm Kiran Kumar, founder of I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. Hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more, and spread Linux love!. If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!


Please enter your comment!
Please enter your name here




Application Launchers for Ubuntu
Ubuntu is one of the most used Linux distributions worldwide. It is also the reason why it has the maximum number of available programs for itself. Today we are going to talk about one category of those programs, the application launchers.
In this article, we will take a look at 10 of the best PDF editors and tools out there in 2019 that are available for Linux platforms. The editors are going to be judged on the basis of their functionalities, portability, ease of installation, price, and convenience.
best video players for linux
Most Linux-based systems come with a built-in video player, but let's be honest, it most definitely won't be able to satisfy all of your requirements, due to the fact that default software is mostly made for basic purposes. In this article, we will review the 5 Best Video Players for Linux and thoroughly discuss their features as well as their pros and cons.