Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

after 24.04 upgrade, unable to connect vpn l2tp

I did upgrade my ubuntu and did some apt upgrade... I tried the vpn and it was not working anymore. This is a previously working L2TP network connection integrated with Duo(2fa). The request is sent ...
ton's user avatar
  • 209
0 votes
0 answers
55 views

VPN L2TP/ipsec ubuntu client problems | Best practice settings against watchguard firewall

I have been trying for a long time to solve the following problem. L2PT/IPSEC VPN works fine with windows and mac clients. Watchguard firewall does not have documents for settings this right way for ...
Vni's user avatar
  • 1
0 votes
2 answers
197 views

L2TP IPSEC not working after upgrade from Ubuntu 20 to 22

I had configured on Ubuntu20 which was working fine. Recently I upgraded the system to Ubuntu 22.04 but now I am unable to connect to the office vpn. I am attaching the logs journalctl -xe May 03 12:...
hellgod07's user avatar
0 votes
0 answers
62 views

Specify L2TP VPN to use other port

I am currently at a hotel and they seem to block VPN use. I assume they block it by looking into the port it uses. I would like to use my company VPN (L2TP). So, I think my best bet is to change the ...
Darren Christopher's user avatar
0 votes
0 answers
195 views

'Timeout was reached' network manager

I'm trying to connect to a l2tp w/ psk VPN using Ubuntu but i keep getting timeout (after less than 10 secs) was reached when trying to connect: sending packet: from 192.168.0.100[4500] to 201.22.XXX....
wlstate's user avatar
0 votes
0 answers
244 views

Ubuntu 22.04 VPN issues (L2TP/IPSec)

I have a couple of machines running Ubuntu 22.04.3 LTS. I'm observing the same issue on all machines: I can establish a connection to my VPN server. I can ping machines, access internal websites, ...
nerdit's user avatar
  • 9
0 votes
0 answers
426 views

VPN connection in Ubuntu 22.04 throws "MS-CHAP authentication failed"

I have Ubuntu 22.04 and a VPN that allows me to work within the servers of the company I work for. Everything worked well until today. Now, when I try to connect, it says "Authentication failed&...
schmat_90's user avatar
  • 103
0 votes
0 answers
731 views

No L2TP VPN option on Ubuntu 23.04 (Lunar Lobster)?

Since upgrading from Ubuntu 22.04.3 LTS (Jammy Jellyfish) to Ubuntu 23.04 (Lunar Lobster), the "Layer 2 Tunneling Protocol (L2TP)" option is no longer available in the "Add VPN" ...
Lazy Titanic's user avatar
1 vote
1 answer
4k views

Problem with L2TP IPSec VPN from ubuntu 22.04 [duplicate]

I have to connect to a VPN L2TP/Ipsec Under Ubuntu 18.04, I used: IPsec Tunnel to L2TP Server - yes Phase1 = 3des-sha1-modp1024! Phase2 = 3des-sha1! Force UDP encapsulation I have installed Ubuntu 22....
pinguino's user avatar
0 votes
1 answer
3k views

L2TP / IPSec VPN Issue

I am trying to configure L2TP client on our Ubuntu 22.04 Server. I have configured the credentials and see the following errors in the Log May 2 09:31:39 nl-live NetworkManager[31815]: xl2tpd[31815]: ...
opensource-developer's user avatar
0 votes
0 answers
554 views

L2TP/IPSec VPN on Ubuntu Server

I am trying to configure L2TP Using IPSec on ubuntu server 22.04, i have added all the necessary details under Network manager but the VPN does not seem to work and I am not able to ping any network ...
opensource-developer's user avatar
0 votes
1 answer
618 views

How can I connect two ubuntu server with L2TP v3?

My scenario is I want to run a VPN server on the Ubuntu server. but, because my ISP blocks the outbound connection to outside the country I have to first connect to a server in the data center, and ...
Afshin's user avatar
  • 523
0 votes
0 answers
583 views

Why I don't see ppp0 interface after starting L2TP\IPSec server Ubuntu?

I used two instruction to set up my L2TP\IPSec server 1 and 2 But I don't see that xl2tpd start pppd demon. And because of this I dont see ppp0 interface. What I do wrong? syslog: Feb 26 14:35:24 vpn ...
Andrew's user avatar
  • 1
0 votes
0 answers
499 views

Activation of network failed with my VPN

I have a problem with my vpn when I want to activate it, it was working fine until today. I'm on Ubuntu 20.04 and my vpn is an L2TP vpn. I reinstalled the VPN several times but impossible I always ...
Aura's user avatar
  • 1
0 votes
0 answers
2k views

PPTP and L2TP VPN stop working on Ubuntu 22.04.1 LTS

I use VPN to access a server to work on. The server runs in the university network, and I need to use a VPN from home to connect to the university network and access the server. The problem is that I ...
Vinicius's user avatar
0 votes
1 answer
666 views

L2TP VPN connection does not use manually set IP address

EDIT (2022/01/03): As per Douglas Kosovic's answer, updating to version 1.20.08 does indeed fix this issue. For completeness, I manually added the repository for good measure beforehand. sudo add-apt-...
HigherOrderConfusion's user avatar
0 votes
1 answer
2k views

L2TP/IPSec not working in LUBUNTU 20.4

I am trying to connect to my official vpn but it is not working. I am sharing some syslog and debug log. Please help sudo tail -f /var/log/syslog May 1 00:22:32 luser NetworkManager[440]: <info&...
Md. Mostafizur Rahman's user avatar
1 vote
1 answer
4k views

nmcli not showing connection

I imported L2TP/IPsec VPN connection configuration file from Ubuntu mate 20.04 /etc/NetworkManager/system-connections/ to Ubuntu server 20.04 Next, on the Ubuntu server 20.04 PC, I check the nmcli ...
epx's user avatar
  • 31
0 votes
1 answer
2k views

How to enable split tunneling with L2TP over IPsec VPN on Ubuntu 18.04

My users are able to connect to L2TP VPN without issues but are having problems with the speeds. To resolve this, I'd like to provide them instructions on how to enable split tunneling so they only ...
jjevid's user avatar
  • 13
0 votes
0 answers
380 views

Can't ping ip adresses through L2TP VPN

I have a L2TP VPN server(Ubuntu) and Ubuntu 20.04 server. I connected to VPN in my Ubuntu, however I can't ping any ip addresses located on that network. What causes such behaviour of that VPN ...
adekability's user avatar
0 votes
0 answers
1k views

NetworkManager auto reconnect L2TP

I have this config on Ubuntu 20.04.3 LTS server: # nmcli con show NAME UUID TYPE DEVICE ethernet-enp0s31f6 ecccc29f-bd3f-4bbf-82ce-b1d1978576a1 ...
nagylzs's user avatar
  • 131
0 votes
1 answer
951 views

l2tp/IPsec vpn: Cannot diable PFS

I am using Ubuntu 21.04 and I wanted to connect to a VPN. I have installed the network-manager network-manager-l2tp network-manager-gnome. I have another laptop using Fedora and installed the same ...
Felix Yeung's user avatar
0 votes
0 answers
4k views

Easiest way to setup Ubuntu as a VPN server (L2TP) for a home router to connect

I'm trying to create/deploy a VPN to solve a connection issue regarding a game I'm playing (Xbox). For this, I'm setting up a VPN on a EC2 machine on AWS and I want to connect from a home router. I ...
weig's user avatar
  • 1
0 votes
0 answers
40 views

VPN trouble on wifi network change

I have a weird problem with my VPN(l2tp/IPSec) recently. At first when I added the VPN there was no problem but when i changed my WiFi connection (came home from work!) the blocked sites that i ...
some ediot's user avatar
2 votes
2 answers
4k views

L2TP IPSEC VPN cannot connect Ubuntu 18.04 Strongswan - PAP authentication failed

I'm trying to connect to a VPN server and it's not working. Output from tail -f /var/log/syslog | grep -E "pppd|charon|NetworkManager|strongSwan|ipsec|l2tp" NetworkManager[22546]: <info&...
Jonathan's user avatar
  • 656
2 votes
1 answer
14k views

Ubuntu 20.04 L2TP VPN connection not working

I'm trying to connect my Ubuntu 20.04 installation with my company VPN. VPN in based on SOPHOS firewall. According to details provided by IT department we should use L2TP connection with IPsec and ...
Sławomir Ajon's user avatar
1 vote
1 answer
2k views

How to connect Ubuntu 20.04 minimal instance to a L2TP vpn?

I am trying to connect an Ubuntu minimal instance to a VPN. I have installed network-manager-l2tp and have configured the connection as so: [connection] id=vpn uuid=7cb18238-9976-4836-8b7e-...
Brendan McCoy's user avatar
3 votes
0 answers
450 views

Unable to connect to L2TP/IPSec VPN via NM and xl2tp

I have been to troubleshoot all morning as to how to get connected to my employer's VPN via Network Manager. I found a number of support threads on various sites and have tried all of what was ...
Trevor Sears's user avatar
4 votes
3 answers
14k views

L2TP VPN is not working on Ubuntu 20.04. Same credential is working fine with Ubuntu 18.04

L2TP VPN is not working on newly installed Ubunut 20.04 and 20.10. Credentials are correct and same is working with Ubuntu 18.04
Nitish kumar's user avatar
1 vote
1 answer
693 views

Why is DH20 not correctly negotiated with remote host when establishing an IPSec tunnel?

Trying to connect a computer to a VPN server configured this way : Router# show isakmp policy ISAKMP policy: L2TP_VPN IKD_ID: 8 negotiation mode: main proposal: 1 encryption: aes256 ...
Zulgrib's user avatar
  • 263
1 vote
0 answers
271 views

L2TP VPN connection is failed after reseting the BIOS on Ubuntu 18.04.5 LTS

During the L2TP VPN connection, I get the following error Activation of network connection failed. All credentials are valid since I can connect to the VPN using the Windows machine. The connecting ...
Vlad's user avatar
  • 11
1 vote
0 answers
363 views

Route traffic outside L2TP IPSEC VPN on Ubuntu 18.04 client

When connecting to websites like Netflix and Stadia I would like to route the traffic outside the VPN I have setup to connect to my office. It is a L2TP IPSEC VPN setup through NetworkManager on ...
Skillzore's user avatar
  • 486
0 votes
0 answers
580 views

Connecting to SoftEther from Ubuntu 18

I have installed a Softether VPN server on AWS through its Marketplace click here to check the product. I set up the server. I have an Ubuntu 18 Machine which I want to set up a client to connect to ...
Nicolas El Khoury's user avatar
0 votes
2 answers
749 views

L2TP VPN connected but no traffic / not working

I'm using Kubuntu 20.04 and having issues with L2TP VPN By the way it was working fine up until today, would connect and all traffic was fine. Now the VPN connects but I cant do anything.. even www....
Storms786's user avatar
  • 101
4 votes
2 answers
3k views

How to setup Strongswan to auth to LDAP?

I'm trying to create an L2TP/IPSEC VPN server in 20.04 that uses LDAP for user authentication. I'm assuming Strongswan does this. Where, in Strongswan or other configs would I add the LDAP server info?...
Chemdream's user avatar
  • 153
0 votes
0 answers
6k views

strongSwan failed to start

I am configuring L2TP VPN on Ubuntu 20.4 client. After the following installation from this site, when I want to restart ipsec /usr/sbin/ipsec start I get this error: Starting strongSwan 5.8.2 IPsec [...
Amin's user avatar
  • 91
0 votes
1 answer
2k views

L2TP/IPsec internet access problem

When I try to connect to a VPN (L2TP/IPsec) and don't check the option "use this connection only for resources on its network" i'm not being able to access the Internet, if i use this option i'm not ...
FranzF's user avatar
  • 1
0 votes
0 answers
704 views

Smartcard (EAP) authencation for L2TP/IPsec VPN

I have a certificate in a smartcard that I use to connect over a VPN on Windows. The VPN is a L2TP/IPsec, and uses EAP for authentication. I tried multiple connection methods, some using UI (Network ...
Filipe Rodrigues's user avatar
1 vote
0 answers
2k views

How to configure L2TP/IPSec PSK VPN on Xubuntu 18.04?

I have a Sonicwall Firewall running an L2TP VPN with a pre-shared key. I need to connect to that VPN from my Linux computer running Xubuntu 18.04. I've tried quite a few different guides that I could ...
Matt's user avatar
  • 21
1 vote
1 answer
1k views

Password field is disabled int network manager vpn

I installed network-manager-l2tp-gnome and when I create new L2TP vpn connection the password field does not work
diffuse's user avatar
  • 113
1 vote
1 answer
1k views

After upgrade to 20.04 "Use this connection only for resources on its network" doesn't work

I have upgrade from Ubuntu 19.10 to 20.04 on my laptop. I have had two VPN connections to my office, one that route all traffic through the VPN and one that only route traffic to my office network ...
Fredrik's user avatar
  • 11
0 votes
1 answer
2k views

DNS breaks when VPN is turned off

I have an L2TP VPN set up on Ubuntu 18.04 (set up similar to this). Whenever I turn the VPN off through the settings after using it for a while, my DNS seems to break entirely. For example, Firefox ...
JMAA's user avatar
  • 307
0 votes
0 answers
2k views

Enable/Disable xl2tpd when connecting to specific VPNs

G'day, I'm an MSP and I'm in the process of trying to use Linux for my daily driver and I tend to need to connect to a lot of different VPNs. My current hurdle is that I have a particular L2TP VPN ...
Mason's user avatar
  • 1
3 votes
3 answers
798 views

VPN difference between 16.04 and 18.04

I have 2 PCs which I want to connect to a L2TP/IPSec VPN, one of them runs Ubuntu 16.04 and it works fine. The other one runs 18.04 and it can't connect to the server, although the settings are ...
jenald's user avatar
  • 107
3 votes
3 answers
7k views

Ubuntu 19.10 l2tp VPN doesn't work anymore

After upgrading from Ubuntu 19.04 to Ubuntu 19.10, my VPN connection doesn't work anymore. My settings: phase1: 3des-sha1;modp1024 phase2: 3des-sha1 This worked fine so far. I checked the packages ...
user757306's user avatar
0 votes
2 answers
1k views

How can you refresh VPN to How it Was Before Corruption?

In Ubuntu 19.10, I was able to successfully add one L2TP VPN that has been working great since installing 19.10. However, upon adding an additional L2TP VPN, it not only didn't work, but it also ...
Lonnie Best's user avatar
  • 2,214