Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [l2tp]

Layer 2 Tunnelling Protocol is a layer 7 networking protocol which provides an unsecure layer 2 tunnel. It runs on top of UDP, and is commonly used to carry PPP sessions. Security is usually provided with the addition of IPsec.

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

Setup L2TP Ubuntu Server without IPSec (yes I know thats very odd)

Im trying to tunnell my traffic from a bunch of low end mikrotik routers through a L2PT tunnel, and these routers are not powerful enough to run encryption. I have Ubuntu 20.04 VPS, and have ...
user avatar
1 vote
0 answers
19 views

Ubuntu L2TP Server not allow to connect multiple devices

Till today, this website showed me some answers that solve the problem. But it seems I couldn't find the correct answer to this problem. I have a project for a VPN network for remote service purposes, ...
user avatar
0 votes
0 answers
38 views

L2TP Disconnect after 59 Minutes / 1 hour only with IPv6

I have a Windows Server 2022 with L2TP configured. The Server has a NATed IPv4 and a Public IPv6. The Clients are all Windows 10 20H2 The Clients connect via it's DNS Name. The most clients do not ...
user avatar
0 votes
0 answers
41 views

L2TP Client Public IP inaccessible after connecting to VPN

I have an odd issue that i have not come across before. I have a Fortinet firewall and i have a remote access L2TP VPN configured through the VPN Wizard, works great. The L2TP Client has a public IP ...
user avatar
  • 197
0 votes
0 answers
114 views

L2TP VPN. Port Forwarding. Iptables

I have the following setup: 1.) IP camera -> local IP -> Router -> port forward to my public static IP -> Nginx with rtmp module -> IP camera is streaming online perfectly fine. Now ...
user avatar
  • 11
1 vote
1 answer
382 views

Connection failed using L2TP on Ubuntu 20

I am trying to establish a VPN connection but I am unable to do so. The issues points to PPP as can be seen in the log output below. However, I am not quite sure what I can make out of this: /var/log/...
user avatar
0 votes
2 answers
711 views

Upgraded to Windows 11 now L2TP VPN Connection Fails

I upgraded to Windows 11 now my VPN connections fail. They were working right before the update. The error is... The L2TP connection attempt failed because the security layer encountered a ...
user avatar
  • 103
0 votes
0 answers
28 views

Change assigned vpn IP on L2TP,PPTP

I have PPTP and L2TP configured on my Centos 7. I want to give users a custom IP when they connected. Linux itself does this in order of defined IP range, which I do not want, and I want the IPs ...
user avatar
0 votes
0 answers
36 views

libgcrypt.so.11 installed but needed by strongswan

I'm trying to get StrongSwan package in Red Hat Enterprise Linux release 8.5 (Ootpa). But it shows an issue, even with libgcrypt-1.8.5-6.el8.x86_64 installed. I tried to get StrongSwan and Libcrypt ...
user avatar
0 votes
0 answers
34 views

Client connects to my L2TP server but does internet not work

I created an L2TP server via this script: https://kayama.dp.ua/blog/ubuntu-16-04-how-to-setup-l2tp-over-ipsec-vpn-serv.html the client connects to the vpn but fails to navigate Configuration apt-get ...
user avatar
0 votes
0 answers
36 views

Win2019 VPN giving 'processing error during initial negotiations'

TL;DR: Got new server running Win2019. Went to move VPN over from Win2008R2 server. When 2019 connecting to 2019 server, clients get the old and common error: But connecting to the existing 2008R2 ...
user avatar
  • 111
0 votes
0 answers
77 views

how to allow ipsec connection only with pre shared key authentication and rest of connections should be rejected

l2tpd configuration file : remote access vpn configuration conn L2TP-PSK authby=psk pfs=no rekey=no keyingtries=3 keyexchange=ikev1 forceencaps=yes leftfirewall=yes leftnexthop=%defaultroute type=...
user avatar
0 votes
0 answers
151 views

How to build a L2TP VPN from Ubuntu to Ubiquiti UDM-PRO

What I'm Trying to Accomplish (in the end) : I have a Zabbix Server running on Ubuntu 20.04 and I want to SNMP some Ubiquiti UDM-Pros. These damn things don't allow much in the way of SNMP polling ...
user avatar
0 votes
0 answers
34 views

PfSense Fedora L2TP VPN stop traffic flow on HTTP hit

I have configured L2TP VPN on PfSense 21.05-RELEASE (amd64) and fedora 33 as client, once VPN is connected I can ping remote host but as soon as I tied to hit HTTP site (google.com) traffic flow of ...
user avatar
0 votes
1 answer
81 views

Is it possible to have L2TP/IPsec VPN auto disconnect after x hours?

I couldn't find anything on Google, everything that I found was related to the opposite problem, VPN disconnecting when people don't want it to. A little backstory: one of our potential clients needs ...
user avatar
1 vote
2 answers
208 views

L2TP Issues AWS EC2

I'm trying to set up l2tp inside an AWS VPC, I'm having problems. I'm on a MAC OS and I keep getting an error "A connection could not be established to the PPP server. Try reconnecting. If the ...
user avatar
1 vote
1 answer
462 views

How to encode Pre-Shared Key (PSK) of and L2TP IPSEC connection managed by Network-Manager

If I create a VPN L2TP IPSEC connection using Network-Manager GUI, I introduce the PSK, but this one looks different on /etc/NetworkManager/system-connection/myvpn.nmconnection I am thinking the PSK ...
user avatar
2 votes
0 answers
504 views

Ubuntu Server 20.04 network-manager not starting VPN automatically

I am getting desperate here. I need to connect a Ubuntu Server Machine on a VPS to a network to monitor several machines. I can only connect to the network with L2TP over IPsec. I have tried ...
user avatar
0 votes
1 answer
266 views

RDP fails to connect across L2TP VPN

I have a working L2TP VPN that I can ping all clients once connected, name resolution does not work but I believe that is a separate issue. I cannot connect using RDP between two Windows 10 machines. ...
user avatar
4 votes
1 answer
7k views

Configuring L2TP VPN to use with iOS 14 and macOS Big Sur

After Apple did this in Big Sur OS I can't connect to my own VPN on Libreswan 3.27 (netkey) on 3.10.0-1160.6.1.el7.x86_64 Starting with iOS 14 and macOS Big Sur (coming soon), IPsec supports HMAC-SHA-...
user avatar
3 votes
1 answer
1k views

Cant connect to VPN via L2TP/IPsec on mac, but connection on windows works

I've setup connection on one of our mac computers running MacOS 10.13.6 High Sierra. I've entered user, password, preshared key ect. but I Cant connect to VPN (getting VPN server did not respond error)...
user avatar
  • 31
0 votes
2 answers
326 views

Is there a speed and performance difference between VPNs (L2TP, etc.) vs. port forwarding?

Let's say you wanted to transfer a 1 GB file from a machine at site 1 to a machine at site 2. You can either connect the two machines via a VPN (L2TP) or basic port forwarding. Which connection method ...
user avatar
0 votes
1 answer
1k views

How to route traffic between L2TP/IPSec and WireGuard tunnels?

I have a KVM VPS running Ubuntu 18.04 which is simultaneously: L2TP server (xl2tpd + strongswan) with IP 192.168.42.1/24 Wireguard client with IP 192.168.73.3/24 (server's IP is 192.168.73.1/24) ...
user avatar
0 votes
1 answer
227 views

What is an authentication method for L2TP or IKEv2 VPN that sends the username and password?

Google's GSuite Secure LDAP does not expose userPassword. CHAP, MSCHAP and other authentication do not send the password. They assume the server knows the password and can use a challenge. Because ...
user avatar
0 votes
1 answer
112 views

In a VPN, how to access resources inside a connected office from the VPN server

I have this Windows Server running on AWS, running a VPN with RRAS and NPS. The initial setup included only SSTP, and the users could easily connect from their Windows computers on their homes and use ...
user avatar
0 votes
1 answer
89 views

Always hung on Vi, vim, but not nano when using company VPN

I have a strange problem. IT changed the VPN to a newer Cisco device. After connecting to the VPN, I can ssh to one of our corporate server. I can ls, cd, cat, sudo. BUT if I tried any editing using ...
user avatar
1 vote
0 answers
239 views

How to force the server to set ppp0 and ppp1 for the specified VPN connections?

I have two different VPN connections on a server as below: The first connection from a mikrotik server (192.168.100.128 as the client) to the main server (192.168.100.99 as the host with ppp0). The ...
user avatar
  • 11
0 votes
1 answer
540 views

VPN between 2 Mikrotik routers and static IP using LTE USB Modem

I am trying to setup a VPN tunnel between two sites. Both sites are using a Mikrotik U951 with two Jazz 4G modems. Each 4G service has been allocated a static IP. The main problem is that I am trying ...
user avatar
1 vote
1 answer
547 views

l2tp/ipsec unable to connect on linux

I'm trying to connect to cisco l2tp/ipsec vpn with PSK and IKEv1 username/password. According to this article, I've found that server supports following authentification methods: SA=(Enc=3DES Hash=MD5 ...
user avatar
0 votes
0 answers
115 views

Wrong certificate used when using the Windows L2TP VPN client

I have my VPN security gateway configured to only allow clients having a VPN computer certificate issued by a specific CA. Such a certificate is correctly installed on the client side. In addition to ...
user avatar
  • 153
0 votes
1 answer
1k views

Diagnose L2TP VPN connection failures in CentOS 7

My local machine CentOS Linux release 7.7.1908 (Core) connects to my workplace VPN using LT2P IPSec with PSK. I have two gateways, but since both of them produce similar logs, I'm going to post one of ...
user avatar
0 votes
1 answer
3k views

Failure to connect to a L2TP VPN over IPSec on Ubuntu 16.04

I am having issues connecting to my company's L2TP VPN over IPSEC. This is a Pelink Balance 305 router which has been configured correctly. I have checked that other colleagues have been able to ...
user avatar
2 votes
0 answers
64 views

Windows Server 2016 - L2TP VPN local network issuse

we configured VPN access to our server via L2TP with preshared key to tunnel our RDP admin connection. Everything works fine if we need to just connect to the server - We are behind NAT from out ISP ...
user avatar
1 vote
0 answers
89 views

Why can I not connect to VPN? Domain Joined and mentions "device compliance"

I have the wonderful challenge of setting up our Unifi USG to accept connections from individual domain-joined laptops. I got the supported L2TP server working (as I have used this already for months ...
user avatar
2 votes
1 answer
3k views

Unable to Connect L2TP IPSec VPN on Mac OSX [closed]

I'm struggling to debug an issue connecting a Mac to a L2TP IPsec VPN. Macbook Pro running Mojave 10.14.6, following instructions here https://forum.peplink.com/t/setting-up-l2tp-with-ipsec/8046 I ...
user avatar
0 votes
1 answer
333 views

What Does This L2TP/IPSec Error Mean?

I am trying to connect to a Cisco Meraki VPN that uses L2TP/IPsec. On my side I am using Libreswan/NetworkManager to configure my connection. When I try to connect, I get logs as follows: Mar 02 11:...
user avatar
0 votes
1 answer
1k views

RDP connection failed after logging into VPN (L2TP/IPSec) on a sever

I have a virtual machine Win 10, and I can connect to it via RDP (Remote Desktop Protocol) from my local laptop. Now I want to establish a VPN (L2TP/IPSec) on the remote Win 10 to a third host, ...
user avatar
  • 1
0 votes
1 answer
211 views

L2TP (xl2tpd) IP Address Allocation

I’m making my own study of different ways to establish tunnels between Debian server (LNS) and Android OS (LAC). In case of L2TP without any encryption, LACs should routing traffic through ppp tunnel ...
user avatar
1 vote
0 answers
63 views

Route trafic from one wAP to VPN

i have two mikrotik routers. One router - 2011 (main) has public static IP address and has L2TP over ipsec vpn server running on it. I can connect to it from laptops and mobiles. When i connected, my ...
user avatar
1 vote
0 answers
123 views

route l2tp server to openvpn client

i configured l2tp/ipsec server on ubuntu also i installed openvpn client on this server i need when l2tp client connect to this server traffic forward to openvpn and client get openvpn server ip ...
user avatar
0 votes
1 answer
3k views

TP-LINK TL-MR6400 IPSEC L2TP VPN tunnel with GCP server

I have a TP-LINK TL-MR6400 router, connected to internet by means of an LTE sim. This is a very rough network diagram of my current situation.1 My IoT services sit behind the TL-MR6400. Unfortunately ...
user avatar
0 votes
2 answers
2k views

Setup l2tp using Strongswan

I setup ikev2 using Strongswan, Now I need to add l2tp support to that What is the best and easy method to add l2tp support to Strongswan? Appreciate for any help
user avatar
3 votes
0 answers
2k views

No internet access through L2TP/Ipsec using Ubuntu 18.04 - Routing table

I have set up a VPN network using the package https://github.com/nm-l2tp/NetworkManager-l2tp. The VPN works well (on certain situations) but I think there's a problem with the routing. When I'm not ...
user avatar
1 vote
0 answers
2k views

Connect Ubuntu 19.04 Server to Ubiquity Unifi USG L2TP VPN Server?

I am trying to connect a remote Ubuntu Server 19.04 instance to a Ubiquity Unifi USG L2TP VPN Server. I have the VPN server set up as an L2TP server with PSK and verified that it is working by ...
user avatar
  • 111
0 votes
1 answer
1k views

L2TP over IPSEC strongswan/xl2tpd slow connection debian 9 and 10

I have tried almost anything - my internet connection 500 Mbit/s I connect from the same external IP subnet so my speed to the server is also 500 Mbit/s. When i use wget from my l2tp server i have ...
user avatar
  • 311
1 vote
0 answers
1k views

Strongswan CentOS 7 to Mikrotik Router L2TP VPN "NO_PRPOSAL_CHOSEN"

I have reviewed existing Q&A on this issue and, maybe there's a hook I'm not seeing, but I don't know what else to try. I get this output when attempting to launch VPN from CentOS "client": [...
user avatar
0 votes
1 answer
1k views

Windows Server 2019 - L2TP VPN in RRAS only accessable from internal interface, not from external

I have a problem installing a L2TP VPN Connection with Windows Server 2019. There are two interfaces: "Intern" - 10.0.0.1 / Internal interface "Extern" - 192.168.2.3 / External interface, connected ...
user avatar
  • 1
1 vote
1 answer
2k views

L2TP VPN connection not working - PAYLOAD_MALFORMED

I am trying to replace an old VMWare server (ESXI 5.1.0) with a new one (ESXI 6.7.0) and to do that we are trying to replicate the setup of the old one. We have another physical server that needs to ...
user avatar
  • 111
0 votes
0 answers
1k views

Trying to setup L2TP and IKEv2 on the same server with Strongswan

I'm attempting to setup both L2TP (for use on my Android phone) and IKEv2 (for use on my Mac) on the same server with Strongswan I'm getting the following error when connecting L2TP, but IKEv2 works ...
user avatar
  • 1
0 votes
2 answers
736 views

L2TP/IPSec: Linux can not connect to Cisco ASA (but Windows can)

Our partner provides a service that is available only through the L2TP/IPSec tunnel. We successfully connect to it from Windows, but the connection hangs dead a couple of times a week. Therefore, I ...
user avatar
  • 11

1
2 3 4 5