Skip to main content

Questions tagged [l2tp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
48 votes
2 answers
116k views

IPsec versus L2TP/IPsec

I have a VPN service which gives me the option of connecting via PPTP, IPsec, or L2TP over IPsec. PPTP i know is inferior in terms of security and encryption, but I'm not really sure what the ...
Chris Pratt's user avatar
17 votes
3 answers
103k 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. ...
Asad Moeen's user avatar
15 votes
1 answer
26k views

Accept incoming L2TP connections on Windows 7

Windows 2003 can be configured as a VPN server that uses L2TP with a preshared key. Windows 7 can be configured to accept incoming VPN connections, presumably using PPTP. Is there a way to configure ...
Greg's user avatar
  • 251
8 votes
5 answers
9k views

Windows 7 default VPN - Single Click to Connect

The default way to connect to a VPN (standard includedd MS client) seems to be to click on the network icon in the system tray to expand it, then pick the VPN connection, and click the connect button. ...
Goyuix's user avatar
  • 6,601
5 votes
4 answers
25k 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 ...
Panomosh's user avatar
  • 231
5 votes
1 answer
7k 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 ...
Dennis Kreminsky's user avatar
5 votes
1 answer
9k views

How do I connect Android 4.2 VPN to OS X Server VPN (L2TP)?

I have a Mac mini running OS X 10.8.2 with the OS X Server 2.2.1 from the app store, and I have set up the VPN using L2TP in the Server.app interface. I have tested this VPN connection using a Macbook,...
nerdherd's user avatar
  • 306
4 votes
3 answers
17k 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 ...
div-opn's user avatar
  • 41
4 votes
1 answer
3k 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/...
addlistener's user avatar
3 votes
2 answers
9k 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 ...
creethy's user avatar
  • 43
3 votes
2 answers
6k views

OS X 10.7, can't log into any L2TP VPN server

I was running 10.6.8 and couldn't login to any L2TP VPN server (tried 2 completely different ones) using the built-in VPN client. Upgraded to 10.7.2, the same issue. It doesn't seem that the machine ...
lupincho's user avatar
  • 1,758
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. ...
David Mokon Bond's user avatar
3 votes
1 answer
2k 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 : --------------------- ...
Developia's user avatar
  • 141
3 votes
1 answer
3k 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 ...
abstrask's user avatar
  • 4,889
3 votes
1 answer
2k views

Setting up VPN client: L2TP with IPsec

I've got to connect to vpn server. It works on Windows, but in Ubuntu 10.04 not. Number of options is confusing for me. There is the input that I have: IP Address of VPN Pre-shared key to ...
zachar's user avatar
  • 131
2 votes
2 answers
2k 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 ...
user996142's user avatar
  • 1,533
2 votes
1 answer
16k views

Mac OS X L2TP VPN won't connect

I'm running Mac OS X Server 10.6, providing an L2TP VPN service. The VPN works just fine when connecting from all computers except one --- this one computer stays at the "Connecting..." stage for a ...
smokris's user avatar
  • 1,602
2 votes
0 answers
891 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 ...
Vikash Srivastava's user avatar
2 votes
0 answers
1k views

Setup Ubuntu L2TP VPN server and authenticate users with certificates

I am trying to setup an L2TP server on my Ubuntu VPS and use certificates to authenticate users rather than a password. The reason behind this choice is that I don't want to have plain text passwords ...
nzapponi's user avatar
  • 121
2 votes
0 answers
611 views

Linux Distro with PPTP/L2TP client support and IP Forwarding

I'm looking for a lightweight linux distro with a nice web based front end that I can throw on a VM to act as a secondary gateway out of my network through a VPN. I currently have a debian VM with ip ...
3ncode's user avatar
  • 21
2 votes
0 answers
450 views

Sharing L2TP VPN on OSX with natd

I want to share a VPN connection that has been established by my Mac OS X 10.7.2 computer with another machine in my network. This is what I did: In the /etc/hostcongig file on the main computer I ...
Ess Gee's user avatar
  • 21
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 ...
gdrt's user avatar
  • 83
1 vote
1 answer
2k views

Why is xl2tpd / pppd adding a route for 192.0.0.0/8 after bringing up the link?

I am establishing an l2tp connection with IPSEC between two hosts and when the link comes up a route is added on the client side for 192/8 pointing out the newly established ppp interface. I can find ...
MT.'s user avatar
  • 515
1 vote
2 answers
520 views

Access L2TP over IPSec VPN using OpenVPN on Mac?

Is this possible? To connect to L2TP VPN using OpenVPN on Mac?
vikmalhotra's user avatar
1 vote
1 answer
372 views

Cannot get Wireguard client configuration to work with tplink 605 vpn l2tp server

At home I have a tplink 605 router/vpn server. I have set up a preshared key l2tp server for incoming traffic. I've had this working with my iphone using its vpn capability. I'm now trying to set up ...
akc42's user avatar
  • 123
1 vote
2 answers
803 views

Bonding 2 Internet Service Provider connections?

It's a silly question, probably, but anyway... I've got 2 Internet Service Providers: First provides a connection that runs over L2TP Second provides a Wifi connection Is there any way I can bond ...
Nemoden's user avatar
  • 2,507
1 vote
3 answers
2k views

How do I get L2TP to successfully install on Centos 5.9?

I am trying to setup a Centos 5.9 VPS as a L2TP VPN server. I am using this tutorial Tutorial but when I try to start Racoon with /etc/racoon/init.sh it gives me an error. pfkey_open: Address family ...
AhAd's user avatar
  • 11
1 vote
1 answer
432 views

OS X: how to figure out what prevents L2TP/IPSec from running correctly

It seems that an old installation of Cisco Anyconnect prevents the OS X built-in L2TP/IPSec client from running (I posted a question here: OS X 10.7, can't log into any L2TP VPN server, but didn't ...
lupincho's user avatar
  • 1,758
1 vote
1 answer
567 views

L2TP problems on Mac

It seems there are consistent problems with establishing VPN connection to L2TP-VPN on Mac. It is working for the first time, but after you are disconnected, you are unable to re-connect again for ...
user avatar
1 vote
0 answers
191 views

VPN tunnel between two routers is not working

I have two VPN routers (ER605). I have set up L2TP server on router 1 and I can connect to it from my phone and other devices. I want to connect router 2 to router 1 and route all my traffic through ...
Sourabh's user avatar
  • 11
1 vote
0 answers
190 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
1 answer
3k 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-...
Incl's user avatar
  • 11
1 vote
1 answer
7k 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 ...
Jindrich Vavruska's user avatar
1 vote
0 answers
148 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 ...
geolaw's user avatar
  • 111
1 vote
1 answer
3k 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 ...
Needs More Documentation's user avatar
1 vote
1 answer
591 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 ...
Shawn Sim's user avatar
  • 136
1 vote
0 answers
173 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....
Bumbleparrot's user avatar
1 vote
0 answers
4k 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 /...
Oxwivi's user avatar
  • 316
1 vote
0 answers
863 views

VPN can't access local IPs

i have mac mini with OS X mavericks at the office. We have server app installed their and I connect succesfully but L2TP but can access only the mac mini and can't access other local computers. This ...
Aleksandar Bozhinov's user avatar
1 vote
0 answers
123 views

I can't communication with PCs behind my VPN server

My scenario is: Local net = 192.168.0.0/24 GW and VPN server = 192.168.0.3 Reserved IP for VPN clients = 192.168.0.87 to 99 I'm using OpenSWAN + xl2tpd + PPP on Debian "Squeeze" 6.0.5 with kernel 2....
Diego's user avatar
  • 11
1 vote
0 answers
372 views

Send local IP from VPN instead of remote IP

I'm trying to setup a server with L2TP and Apache. Some folders in the Apache config will only be accessible to those connected to the VPN. I do know that I can use the allow and deny rules with the ...
Roy's user avatar
  • 11
0 votes
2 answers
1k 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 ...
slesh's user avatar
  • 111
0 votes
1 answer
5k views

Black Screen Issues with RDP from Windows 11 to Windows 10

While supporting a network where multiple remote employees connect to their Windows 10 desktops through RDP, I've run into a vexing problem. Several users have reported black screens upon RDP ...
LonnieBest's user avatar
  • 1,666
0 votes
2 answers
1k 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. ...
Balex's user avatar
  • 3
0 votes
1 answer
4k 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 ...
Brick's user avatar
  • 191
0 votes
1 answer
4k 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 ...
user2293727's user avatar
0 votes
2 answers
6k 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 ...
hgl's user avatar
  • 119
0 votes
1 answer
2k views

Access to VPN possible from inside network but not from outside as intended

I installed an L2TP VPN network on an iMac using OS X Lion Server app. It works fine in testing when I use my wireless access on the network (accessing the external IP address), but am unable to ...
Bob's user avatar
  • 1
0 votes
2 answers
3k views

Openswan L2TP/IPsec VPN for iPhone fails during connection

I spent the morning trying to configure an L2TP/IPsec VPN using Openswan and xl2tpd on a Debian Squeeze server for use by a mix of iOS and Mac clients. I am trying to set it up using pre-shared keys ...
Steve Madsen's user avatar
0 votes
1 answer
4k views

setup L2TP on Ubuntu 10.10

I'm following this guide to setup a VPS on my Ubuntu VPS: http://riobard.com/blog/2010-04-30-l2tp-over-ipsec-ubuntu/ My config files are setup as in that guide, openswan version is 2.6.26 I think.. ...
luca's user avatar
  • 1,773