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
2 votes
2 answers
2k views

How to deny connections to xl2tp without ipsec encryption?

I try to setup l2tp+ipsec server for my mobile use and my home router use. So I made some setup and checked it works fine from android device. I see encryption on ipsec --status. My system is CentOS ...
Insspb's user avatar
  • 33
2 votes
1 answer
5k views

L2TP/IPsec through HTTP Port 80

i got an VPN (L2TP/IPsec) Tunnel running on my synology nas. my router is configured for vpn passthrough. so everything is fine. furthermore i got an webservice running on port 80. now i got the ...
Alex Tape's user avatar
  • 138
2 votes
2 answers
15k views

Error connecting to Sonicwall L2TP VPN from iPad/iPhone

A client has a Sonicwall Pro 2040 running SonicOS 3.0, and they'd like to be able to use the L2TP VPN client from their iPads to connect to internal services (Citrix, etc). I've enabled the L2TP VPN ...
db2's user avatar
  • 2,180
2 votes
1 answer
5k views

L2TP and IPSEC from Windows XP: Where do I put the IPSEC group name?

I'm completely new to networking, but need to setup a VPN. I have a linksys router and have gone through and set it up to use IPSEC and have setup a group name, user, password and pre-shared key. But ...
user avatar
2 votes
0 answers
937 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 ...
Javi Hache's user avatar
2 votes
0 answers
734 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 ...
kia's user avatar
  • 21
2 votes
0 answers
175 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 ...
Elenthar's user avatar
2 votes
1 answer
5k 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 ...
robarthur1's user avatar
2 votes
0 answers
1k views

How do I route internet traffic through an established L2TP connection?

I am struggling to connect and, more importantly, route traffic from an Ubuntu server (this means that Network-Manager and any GUI tools are out of the question) to an L2TP-IPSec VPN server running on ...
LLlAMnYP's user avatar
  • 223
2 votes
0 answers
805 views

l2tpv3 tunnel with local ip in vrf (linux kernel vrf)

On a ubuntu host I have two identical ip addresses configured on two interfaces enslaved to two different kernel vrfs. Here they are: mikle@LabHost:~$ ip link show vrf VRF1401 7: enp3s0f0.1401@...
off-on's user avatar
  • 21
2 votes
1 answer
2k 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
2 votes
1 answer
1k views

L2TP server - site-to-site vpn connection

I am not sure this is the right place for this question but here goes. We want to connect users using an L2TP VPN connection to a users at the other end of a SonicWall site-to-site VPN. Currently we ...
Pyro's user avatar
  • 123
2 votes
0 answers
1k views

Server doesn't accept L2TP connections although it is configured to

I own a Windows Server 2003 VPN server which my clients connect to for accessing the local network.. I have configures the RRAS to use the RADIUS authentication and accept connections. The PPTP ...
Miro Markaravanes's user avatar
2 votes
0 answers
4k views

Debian squeeze as L2TP/IPSec gateway for Android devices

I'm trying to configure Debian squeeze as L2TP/IPSec VPN for Android devices, but with no great success. So far I have done following: Successfully configured Debian with openswan implementation of ...
user71061's user avatar
  • 501
1 vote
1 answer
3k views

ASA 5505 stops local internet when connected to VPN

I have a Cisco ASA router running firmware 8.2(5) which hosts an internal LAN on 192.168.30.0/24. I have used the VPN Wizard to setup L2TP access and I can connect in fine from a Windows box and can ...
morleyc's user avatar
  • 1,150
1 vote
2 answers
6k 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/...
Stefan Falk's user avatar
1 vote
1 answer
18k views

What are the ports needed for L2TP VPN on Mac OS X Server 5.0.15?

I'm configuring a Mac as a server with a VPN service. So, I opened the ports listed as used by VPN in Apple documentation: UDP 500 -> 500 (+ESP and AH) UDP 4500 -> 4500 Any UDP -> 1701 (I got to ...
Miguel Ribeiro's user avatar
1 vote
2 answers
2k views

NAT Masquerade to a L2TP/IPSec connection

I'm trying to create two networks (using a debian server) : The first one is intended to pass packets in a normal way (to my ISP). The second one is intended to pass packets via a L2TP/IPSec VPN ...
Bahaïka's user avatar
  • 172
1 vote
1 answer
9k views

Can't get the L2TP IPSEC up and running

i have an Ubuntu 11.10 (oneiric) server running on a ReadyNAS. Im planning to use this to accept ipsec+l2tp connections through a router. However, the connection is failing somewhere half through. ...
Maciej Swic's user avatar
1 vote
2 answers
3k views

L2TP/IPSec PreShared Key VPN

I tried to setup a L2TP/IPsec VPN server with PSK authentication according to this tutorial on a Ubuntu server but there is a problem when I'm trying to connect to this server with a Windows 7 client. ...
cartoonist's user avatar
1 vote
5 answers
6k views

How to issue machine certificates to Android devices trying to connect to L2TP VPN (L2TP/IPsec with Certificate)?

I are trying to find a way to connect Android devices to our VPN box running Windows Sever 2008. We manage to configure a couple Android devices to connect via PPTP. However, I would like to be able ...
John Hendrix's user avatar
1 vote
1 answer
3k views

Mac and L2TP VPN no problems, xp, vista and 7 no go :s

I've got some weird problem and I'm out off options. The situation: When connecting from my mac to the VPN server (Windows Server 2003 R2) with L2TP PSK, everything works like it should. However, ...
The_cobra666's user avatar
1 vote
1 answer
6k views

Setting-up Windows Server 2003 as an L2TP/IPSEC VPN server

I'm looking for a pointer to step-by-step instructions for setting-up a Win Server 2003 Std box as a L2TP/IPSEC VPN server. I don't need to use certificates - pre-shared key is sufficient - and the ...
andyjohnson's user avatar
1 vote
1 answer
1k 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 ...
Javi Hache's user avatar
1 vote
2 answers
400 views

VPN into router behind a Sonicwall

We've installed a Sonicwall TZ Firewall and have configured an L2TP/Ipsec VPN. The SonicWall is connected to an internal router on the subnet 192.168.168.0/30 with the SonicWall on 192.168.168.1 and ...
Olly Lennox's user avatar
1 vote
2 answers
15k views

How to forward IPsec VPN with iptables

Hello I have some questions on how to use iptables to forward IPsec VPN data. Here is what I want to do: WAN Computer -- (eth1/WAN IP)Server1(eth0/10.81.1.2) -- (eth0/10.66.2.3)Server2(eth1/WAN IP) ...
Saiyu Sarai's user avatar
1 vote
2 answers
2k views

How do I get an L2TP Foxpass VPN connection working in Windows 10?

I have an office VPN that I need to connect to which uses L2TP/IPsec with a pre-shared key. At home (on my home network) I have two computers: a MacBook Pro, and a Windows 10 machine. I am able to ...
soapergem's user avatar
  • 719
1 vote
1 answer
1k views

L2TP VPN without certificates between Windows XP and ZyWALL USG 200

I'm trying to configure a ZyWALL USG 200 firewall to let Windows XP remote clients (dynamic IP address) to connect to the workplace network with a L2TP VPN. I don't want to use certificates, a common ...
Lucio Crusca's user avatar
1 vote
1 answer
1k views

Clients cannot connect to L2TP server on Ubuntu 12.04 & 14.04 LTS

I am trying to set up a L2TP/IPSec server on AWS with instance running Ubuntu 14.04LTS. I followed the instructions that I found here : https://raymii.org/s/tags/vpn.html. I tried to use 12.04LTS ...
CK Tan's user avatar
  • 171
1 vote
1 answer
917 views

Phones & tablets cannot connect to Windows Server 2008 RRAS L2TP VPN server

I had installed RRAS in the server running Windows Server 2008 Standard. It's configured as a L2TP VPN server. The Windows and Mac OS X PCs can connect to the server without problem but the android ...
CK Tan's user avatar
  • 171
1 vote
1 answer
1k views

l2tp/pptp + freeradius (accounting information only gets updated on disconnect)

I have a basic PPTP/L2TP setup that uses a remote freeradius server with mysql. Issue is that when a user gets connected to the vpn and as long as the user stays connected (could be hours), no ...
miso's user avatar
  • 11
1 vote
1 answer
4k views

Extract number of users connected to IPSsec/L2tpd server

We have a new corporate VPN server running Ipsec (Openswan) + xl2tpd + pppd. When a user connects, pppd runs the /etc/ppp/auth-up script which logs the time and username that has connected to /var/log/...
Michelle's user avatar
  • 923
1 vote
1 answer
530 views

OpenVPN, L2TP or PPTP client to proxy (http or socks 4/5)

I'm looking for a way to open a proxy server on Windows or Linux which is bound to a client of OpenVPN or L2TP or PPTP, so the user that is connecting to the proxy is gonna connect to the VPN server ...
ehtku5's user avatar
  • 11
1 vote
0 answers
340 views

Packet forwarding for L2TP/IPSec VPN

I have 2 Server: Server 1: MikroTik RouterOS (Setting up L2TP vpn server) [out of my country] Server 2: Fresh Ubuntu 20.04 OS [in my country] I can't connect to Server 1 via L2TP connection (protocol ...
sMohammad14's user avatar
1 vote
1 answer
366 views

Configure VPN via .PBK file

There is some software which can only configure VPN/L2TP-IPSec connection using pbk file (GUI has very limited number of the options). I'm looking for pbk documentation but unsuccessul. I see a few ...
amigo421's user avatar
  • 111
1 vote
1 answer
3k 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 ...
Evan Feldman's user avatar
1 vote
0 answers
360 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, ...
Güray Kunduracı's user avatar
1 vote
2 answers
747 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 ...
Tim Beekley's user avatar
1 vote
1 answer
2k 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 ...
Denis Sheremet's user avatar
1 vote
0 answers
259 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 ...
Fireant456's user avatar
1 vote
0 answers
86 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 ...
swift2geek's user avatar
1 vote
0 answers
194 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 ...
user3699217's 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 ...
bjarkef's user avatar
  • 111
1 vote
0 answers
2k 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": [...
dmmooney's user avatar
1 vote
1 answer
3k 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 ...
Crick3t's user avatar
  • 111
1 vote
0 answers
257 views

RRAS L2TP VPN DNS Issue on iDevices - No Internet

I've setup an L2TP VPN server on Windows Server 2012 using RRAS and NPS primarily for connections from iPhone/iPad clients etc, the problem is I can't get internet connectivity to work when connected ...
Simon's user avatar
  • 11
1 vote
1 answer
678 views

L2TP VPN server only for DNS

I am trying to figure out a way to bypass my ISP's DNS hijacking, by attempting to replicate a Smart VPN solution. Is there a way I could set up a Linux L2TP server that does not forward traffic, but ...
EAdev's user avatar
  • 11
1 vote
0 answers
817 views

Windows L2TP VPN Server Connection Issues

I've been troubleshooting a Windows VPN server I have set up at a client for the past couple months ever since Apple dropped PPTP support on iOS 10. We originally were using PPTP but I've set up L2TP ...
Elijah Kanavel's user avatar
1 vote
0 answers
2k views

Windows L2TP VPN client has no Internet

The L2TP/IPSec VPN server is a Mikrotik router, with these firewall configurations: /ip firewall filter print Flags: X - disabled, I - invalid, D - dynamic 0 D ;;; special dummy rule to show ...
Manuth Chek's user avatar
1 vote
1 answer
7k views

xl2tp + strongswan ipsec -- xl2tp timeout

I'm trying to connect to a ipsec/l2tp vpn from a private network behind a nat-router. It works from different windows clients, but from my linux machine (openSuSE 12.3, strongswan 5.1.3, xl2tp 1.3.0) ...
thr's user avatar
  • 23