Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save prabeshmagar/dc913ff4833e16d773acf1fb387e62ca to your computer and use it in GitHub Desktop.
Save prabeshmagar/dc913ff4833e16d773acf1fb387e62ca to your computer and use it in GitHub Desktop.
Fix L2TP VPN in Ubuntu 22.04 and PopOs 22.04

Fix L2TP VPN in PopOs 22.04

Step 1

sudo apt remove --purge xl2tpd

Step 2

wget http://archive.ubuntu.com/ubuntu/pool/universe/x/xl2tpd/xl2tpd_1.3.12-1.1_amd64.deb

Step 3

sudo dpkg -i xl2tpd\_1.3.12-1.1\_amd64.deb

Step 4

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

Step 5

sudo service xl2tpd stop

Step 6

sudo reboot

@trivett
Copy link

trivett commented May 3, 2022

This worked for me a few days ago but in the middle of the day today it stopped. Has the same happened to you?

@prabeshmagar
Copy link
Author

prabeshmagar commented May 4, 2022

Yes, mine also stopped working so I repeated the same process and it worked but it again stops after I disable and try to enable it again.
so I stop xl2tpd and it worked for me.

sudo service xl2tpd stop

You can try this and see if it works for you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment