Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have L2tp VPN connection working on my Android device.

I wanted to add this to ubuntu through VPN connections, but I only found a PPTP plugin installed. I've searched a lot to find a way to add a lt2p plugin with no success.

I'm wondering is it that hard?

share|improve this question

Regarding Werner Jaeger's PPA: l2tp-ipsec-vpn seems to be in normal quantal/universe repository now, so you don't need adding any special PPA for it...

share|improve this answer
+1. It's also available directly in 13.10 (Saucy). So there's no need to add a special PPA any more. – noumenon Nov 28 '13 at 18:20
this ugly client doen't work for me – Postadelmaga Oct 22 '14 at 0:46
Ugly yes but man it works! Make sure to reboot after installing! – phunehehe Nov 13 '14 at 9:54

Open up a command prompt and type the following to install the client:

sudo apt-add-repository ppa:werner-jaeger/ppa-werner-vpn
sudo apt-get update
sudo apt-get install l2tp-ipsec-vpn

Check out this guide for a full tutorial for configuring connection options after installation. This is the easiest way that I have found for setting up an L2TP client on Ubuntu.

share|improve this answer


sudo apt-add-repository ppa:seriy-pr/network-manager-l2tp
sudo apt-get update
sudo apt-get install network-manager-l2tp-gnome

sudo service xl2tpd stop
sudo update-rc.d xl2tpd disable
share|improve this answer
this PPA is out of date :( – krumpelstiltskin Jan 9 at 0:15

VPN plugins are listed in Synaptic package manager as network-manager-[plugin] but there isn't one for L2TP at this time.

I managed to set up L2TP VPN manually (manually configuring the relevant conf files in the terminal) but this broke and I couldn't get it working again after upgrading to 11.10 (I haven't tried yet again in 12.04 but I think the things that "broke" in 11.10 are still broken). Another option is to try using Werner Jaeger's packages.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.