Questions tagged [l2tp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-2 votes
0 answers
33 views

Using a static IP address in windows 10/11 with L2TP VPN

I have a computational cluster that lies behind a firewall (VPN server). I have no problem connecting to the server using macos as there is an "advanced" tab that allows specifying the IP ...
user avatar
0 votes
0 answers
39 views

Have L2TP and local subnet connection at the same time

I need to have network access to both local subnet and internet via a L2TP connection, but when I connect my L2TP connection I lose my access to the local subnet, is there a way that I can have both ...
user avatar
  • 113
0 votes
0 answers
40 views

How can I free the port 1701 which is locked by System?

Environment: Window form application, C#, Windows 10. Hi, I wrote a window form application. This application will try to connect to L2TP VPN server by rasdial.exe via Process class. The problem is ...
user avatar
0 votes
0 answers
31 views

L2PT VPN Server with windows 10

Is it possibile to add a L2TP VPN server service in Windows 10? As far as I know only PPTP vpn is available.
user avatar
  • 2,154
0 votes
0 answers
44 views

How to fix LT2P over IPSEC using nmcli dying unexpectedly

Hi i'm using network manager on debian 10 to create an L2TP over IPSEC vpn connection. for a very wird reason the process gets Termninating on signal 15. i bring up the connection with: nmcli con up ...
user avatar
  • 1
0 votes
0 answers
28 views

How to resolve both LAN DNS and VPN DNS when connected to a VPN on Windows 10

I have some hostnames set on my router for my local network. But when I connect L2TP VPN my local DNS is not resolving, instead, DNS servers of active VPN are used. Is that possible to resolve both ...
user avatar
  • 21
0 votes
2 answers
236 views

Can I have multiple clients login to the same VPN User?

I am using L2TP with IPSec on Windows Server 2019, and was wondering if its necessary to have a separate user for each tunnel. At the moment there is only one windows user that can login to the VPN. ...
user avatar
  • 3
0 votes
2 answers
377 views

Arch Linux VPN + L2TP: connection established internet works but no access to internal network

I configured VPN according to this instruction (I have Linux), everything is fine, the connection is established, the IP address changes from mine to USA, but the resources that are should be ...
user avatar
  • 111
0 votes
1 answer
463 views

Unable to connect to L2TP/IPsec vpn from Windows 10

When I try to connect to my L2TP/IPsec vpn with pre-shared key, I get the following error: The L2TP connection attempt failed because the security layer encountered a processing error during initial ...
user avatar
0 votes
1 answer
161 views

VPN from Windows 10 to Windows Server 2019

I'm trying to establish a connection between a Windows 10 machine and a Windows Server 2019. On the server side I set up the VPN by these instructions https://www.snel.com/support/how-to-set-up-an-...
user avatar
  • 21
1 vote
0 answers
92 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 ...
user avatar
  • 11
0 votes
0 answers
93 views

Cannot connect to L2tp VPN using windows 10 client but I can connect using ubuntu VMbox from the same windows 10 client

I cannot connect to L2tp VPN Server using my windows 10 PC. I have VM box installed with Ubuntu on the same windows 10. But the VPN connects from this ubuntu VM. The VPN server is Windows server 2016 ...
user avatar
0 votes
1 answer
120 views

L2Tp forming session, but not tunnel (Cisco)

Two cisco routers For some reason they establish a session but not a tunnel. The session says: LocID RemID TunID username, Intf/vcid, Circuit State Last Chg Uniq ID 1 2 n/a 1, Gi0/1 ...
user avatar
0 votes
0 answers
1k views

VPN connection to Unifi USG Pro 4 using L2TP/IPSEC does not work behind my ISP's router

I have my ISP's router in my home which gives out 192.168.0.x addresses. I also have a USG with which i want to create a separate network, that i can reach using VPN with L2TP/IPSEC. This should be ...
user avatar
0 votes
0 answers
1k views

Windows 10, always getting error 789 followed by error 791 when trying to open L2TP VPN connections

I tried to connect to different VPN servers now to which I can connect without problems from other devices. I'm using the Windows 10 built-in VPN client and I'm sure the options I've set are correct. ...
user avatar
0 votes
0 answers
731 views

VPN l2tp over IPSec: ppp - No auth is possible. Ubuntu 18.04 LTS

I setup IPSec over VPN using this tutorial https://20notes.net/linux/setup-l2tp-over-ipsec-client-on-ubuntu-18-04-using-gnome It is working using NetworkManager. However NetworkManager allow only one ...
user avatar
3 votes
4 answers
19k views

Windows 10 L2TP VPN connection issue

I have a Windows 10 client which has been configured to connect to an L2TP VPN. To get the connection to work, I had to add the "AssumeUDPEncapsulationContextOnSendRule" registry Key, and then ...
user avatar
  • 201
4 votes
1 answer
2k views

L2TP/IPSec On Mac Failed to connect

I am connecting to a VPN Server set up following instructions in https://github.com/hwdsl2/setup-ipsec-vpn And I setup the clients following https://github.com/hwdsl2/setup-ipsec-vpn/blob/master/...
user avatar
  • 141
1 vote
1 answer
2k views

L2TP / IPSec couldn't look up L2TP VPN gateway IP address (CentOS 7)

I'm trying to connect to VPN from CentOS 7. I have network-manager-l2tp installed (1.2.10). The output I'm getting: Mar 18 23:46:43 localhost NetworkManager[4790]: <info> [1552949203.6892] vpn-...
user avatar
  • 11
3 votes
1 answer
2k views

L2TP VPN connection stuck "Connecting" on Windows 10

On Windows 10 Pro build 17134, when I try to connect to an L2TP VPN connection, through the system tray network menu, it gets stuck "Connecting" and never connects: However, when I connect the same ...
user avatar
  • 4,810
3 votes
1 answer
1k views

L2TP/IPSec using srongswan in ubuntu

I'm using strongswan on ubuntu 16.04 to connect to a thirdparty L2TP/IPSec VPN. They provided me a profile file like this: VPN connection IP : X.X.X.X IPSEC Authentication : --------------------- ...
user avatar
  • 141
0 votes
1 answer
6k views

Cannot connect to SoftEther VPN from Windows SSTP or L2TP client, but server management connection is OK

I set up SoftEther VPN server on a VPS on Centos 6.10. Strangely, I can access the server with VPN Server Manager and do whatever I like with it, but when I try to make VPN connection (from the very ...
user avatar
1 vote
0 answers
77 views

Strongswan xl2tpd: Can't connect to local services through vpn

I have a l2tp vpn server set up and I am trying to access services running on port 9090 via 192.168.67.14. I can access port 80 but I get connection refused when I try any other port. I have disabled ...
user avatar
  • 111
4 votes
3 answers
16k views

Can't connect to L2TP IPsec VPN from Windows 10 but it works with macOS High Sierra

I am trying to connect from a Windows 10 client to an Ubiquiti EdgeRouter VPN, I went through the instructions on https://help.ubnt.com/hc/en-us/articles/204950294-EdgeRouter-L2TP-IPsec-VPN-Server but ...
user avatar
  • 41
0 votes
0 answers
332 views

Why does Windows VPN MS-CHAP v2 map error code 649 to 812?

When attempting to make a Windows VPN connection with MS-CHAP v2, why is error 649 mapped to the much more generic error 812? The former would seem to be much more useful. The dialog box shown to the ...
user avatar
  • 229
15 votes
3 answers
93k views

L2TP/IPsec VPN fails to connect on Windows 10 - Works fine on iOS

I’ve configured an L2TP/ipsec server with a pre-shared key that works like a charm on my phone. I’ve tried several ways including disabling of firewall to connect on Windows 10 but it always fails. ...
user avatar
-1 votes
1 answer
5k views

Accessing server behind Mikrotik L2TP/IPSec Client

So I'm using an L2TP/IPSec VPN service which allows me to forward ports so I can access servers on my local network from the public internet. This works great when I've got my Windows PC as the client ...
user avatar
  • 101
0 votes
1 answer
8k views

How to push DNS settings to VPN clients in Windows Server 2012R2?

I have configured L2TP VPN service in a Windows Server 2012R2 box. The service is totally fine for Windows and Linux clients but it does not work for macOS/iOS since DNS setting is not pushed to ...
user avatar
0 votes
1 answer
376 views

Why does VPN client connect with pfs=yes when server has pfs=no?

I have a small VPN set-up. The client in question is a Raspberry Pi running strongswan and xl2tpd to run as IPsec/L2TP. I made a configuration mistake on the client where I set pfs=yes (for perfect ...
user avatar
  • 181
0 votes
0 answers
225 views

VPN, NAT - an out of the box solution

I am looking for an out of the box VPN solution for homeuser build with cheap hardware. The szenario is as easy as everywhere: Office: Server (private IPv4 LAN 192.168.10.x) <-> router and ...
user avatar
  • 103
2 votes
0 answers
655 views

xl2tpd-control command not working

I have an cisco vpn server which which i am trying to connect an endpoint through VPN(IPsec/L2TP). I have strongswan, xl2tpd and pppd running on my machine. IPsec conection is established successfully ...
user avatar
0 votes
1 answer
1k views

L2TP VPN Server on Raspberry Pi

I setup a L2TP VPN server on my Raspberry PI. When I tried to connect to it from my iPhone, I got the following error in the /var/log/auth.log file: Jan 3 10:53:08 raspberrypi pluto[4116]: ERROR: ...
user avatar
0 votes
1 answer
2k views

L2TP/IPsec VPN Debian/Ubuntu IPsec fails to negotiate or establish security associations

I spent 2 days to configure and figure what's wrong with this setup of L2TP/IPsec VPN. I'm using Debian 8.6 on my VPS server and on my Virtual machine on laptop I'm using Ubuntu 14.04.5. On my VPS im ...
user avatar
  • 15
0 votes
1 answer
3k views

Using openswan on raspian get "We cannot identify ourselves with either end of this network"

I just spent several hours fighting with Raspberry Pi 3 to get it to connect to my VPN at work. I got OpenSwan installed and (apparently) configured, and also xl2ptd. After starting the services and ...
user avatar
  • 181
1 vote
1 answer
2k views

Unable to Connect to Windows Server 2012 VPN using L2TP

Trying to connect to Windows Server 2012 VPN over L2TP. Server configured to support L2TP using "custom IPSec policy" PSK. All authentication methods are checked off. Clients are configured to ...
user avatar
1 vote
1 answer
511 views

Have more than 2 concurrent VPN connection to a Windows Server 2008R2 Enterprise

I am trying to have 10 PCs to concurrently connect to my windows server 2008 R2 Enterprise via L2TP VPN. The problem that I am facing now is that after connecting 2 PCs via VPN, a third one cannot ...
user avatar
  • 136
0 votes
0 answers
5k views

L2TP IPSec doesn't work from other city

I have a well working L2TP IPSec connection from any mobile or desktop client to my Mikrotik RB2011UiAS-2HnD-IN (RouterOS v6.30.2). It works when I connect through any mobile or stationary ISP within ...
user avatar
  • 742
0 votes
1 answer
3k views

Can't Ping other local ips on l2tp vpn connection, getting: ping: sendmsg: No such device

I have setup an l2tp client using xl2tp to connect to an l2tp vpn server. The server connection requires that the connection be setup WITHOUT ipsec. So I have set up a basic xl2tp connection. The ...
user avatar
1 vote
0 answers
139 views

Linksys L2TP VPN Disconnecting

I am using a 2nd router as a L2TP VPN Router. Whenever the router boots up, it connects to VPN for about 2 minutes, then it disconnects. It stays in a "connecting" state and never regains a connection....
user avatar
1 vote
1 answer
15k views

Windows 10 automatically disconects from VPN server

I am connecting to the VPN server with Windows 10 built-in provider using L2TP/IPsec protocol with username/password and a Pre Shared Key. Everything is fine except the fact that every 1.5 hours it ...
user avatar
  • 83
1 vote
0 answers
3k views

Connect to L2TP/IPsec (username/password/PSK) on cmd.exe

How may I connect to VPN using the username, password and PSK combo in the command line? Google has been of no help; any guidance will be most welcome. I want a command to the effect of vpnclient /...
user avatar
  • 314
0 votes
2 answers
5k views

How to redirect LAN traffic to a L2TP/IPsec client connection on a gateway?

I established a L2TP/IPsec client connection on the gateway, and I'm trying to redirect my host on LAN to use this connection when accessing the Internet. Here is the network topology. This is my ...
user avatar
  • 119
2 votes
2 answers
1k views

IPSec tunneling mode vs transport mode vs transport+L2TP

According to many docs, transport mode should be used in host-to-host IPSec, while tunneling is used to connect gateways and L2TP is used for remote access. But nothing prevents me from using ...
user avatar
  • 1,353
3 votes
2 answers
16k views

L2TP over IPSec VPN on Fedora 21

I need to connect a Linux Fedora 21 desktop to a L2TP over IPSec VPN. I was given a set of instructions for how to do so on a MAC as that is what they use but I have been unable to do so on Fedora. ...
user avatar
0 votes
1 answer
3k views

ssh over VPN to ubuntu server

I have remote server(ubuntu server). I access remote server by ssh as ssh root@IP_OF_SERVER, then I have setup a webapp running in server and access it by IP_OF_SERVER:80. Every thing is working fine. ...
user avatar
  • 199
5 votes
1 answer
6k views

L2TP/IPSec stopped working after openssl upgrade

VPN connections from my MacBook / iOS devices to a Debian server having openswan / xl2tp were working just fine until I used apt-get to upgrade everything due to openssl heartbleed announcement. Now ...
user avatar
3 votes
2 answers
8k views

IPSec with or without L2TP?

I'm referring to this question. And to be clear: This is really not about the old PPTP vs L2TP debate. ;-) I successfully set up racoon as an IKE server without any L2TP implementation running and it ...
user avatar
  • 43
0 votes
1 answer
1k views

Windows 2003 as L2TP server (without IPsec) L2TP PPP

Is there a way to configure Windows server (2003/2008) as a traditional L2TP server without having IPsec . I have an L2TP client which is similar to an LAC and dials in to the LNS using SCCRQ and gets ...
user avatar
  • 1
0 votes
1 answer
245 views

Can I run a VPN server with certificates only, and no password/pre-shared keys?

I've seen several writeups around discussing VPN server configuration. In all of them, there are 2 or 3 pre-shared keys / passwords used at various levels of the tunnel -- one for IPSec, one for L2TP,...
user avatar
  • 493
0 votes
1 answer
1k views

Logging VPN Traffic (L2TP/IPSec on Ubuntu)

I'm running a small, private VPN server for me and 2-3 other people. For bandwidth monitoring, and to comply with any possible DMCA or other government (re: new Canadian law) requests, I want to have ...
user avatar
  • 101