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 the Layer 2 Tunneling Protocol. L2TP and L2TP/IPsec connections are must-have network tools, especially if you are using a 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




How to create a Fedora Games Live USB drive in Linux

One of the best Fedora spins that has been for a while and also being well maintained is the Fedora Games. The Fedora Games spin is a great showcase of the best games available in the Fedora operating system.
chown usage linux
Any file in a Linux system belongs to a particular owner(s) and a group. It is one of the many features that maintain security in Linux systems. For example; If a file belongs to say UserA, then UserB cannot manipulate the data depending on any additional permissions set unless the user has permission to do that.
One of the essential tools in any Linux distribution is a Task Manager. It is a system monitor application that gives you a report of all programs running on your computer and the status of your RAM and CPU usage.