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.

202 questions
1
vote
5 answers

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 to connect using L2TP/IPSec with certificates…
John Hendrix
  • 11
  • 1
  • 2
1
vote
1 answer

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/pppstats. However, on our older OpenVPN system…
Michelle
  • 923
  • 5
  • 20
  • 30
1
vote
0 answers

iPad/iPhone L2TP VPN locks up SonicWall NSA2400 Randomly

Ok so I've got iPad/iPhone's connecting to my network via L2TP VPN setup interfacing with a Sonicwall NSA 2400 gateway. The problem is that sometimes when the iPad/iPhone is connected over the VPN but goes to sleep, when it wakes up it sometimes…
Richard
  • 153
  • 2
  • 2
  • 10
1
vote
1 answer

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, when I connect from a Windows PC, nothing happens.…
The_cobra666
  • 167
  • 1
  • 3
  • 12
1
vote
0 answers

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 blocked by ISP for out country servers), but I…
1
vote
1 answer

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 examples on the web but can't find any detailed…
amigo421
  • 111
  • 1
1
vote
1 answer

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 installed xl2tpd. Ive been trying to follow this guide:…
Evan Feldman
  • 11
  • 1
  • 2
1
vote
0 answers

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, the network will not be used constantly. I…
1
vote
2 answers

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/syslog Jan 24 11:28:18 sfalk-pc…
Stefan Falk
  • 121
  • 1
  • 6
1
vote
2 answers

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 problem continues, verify your settings and contact your…
1
vote
1 answer

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 gets encoded somehow, since it begins with 0s it's…
Javi Hache
  • 33
  • 4
1
vote
0 answers

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 second connection from the local Mikrotik…
kia
  • 11
  • 2
1
vote
1 answer

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 Group=2:modp1024 Auth=PSK LifeType=Seconds…
1
vote
0 answers

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 for remote admin access myself), added RADIUS to…
Fireant456
  • 21
  • 3
0
votes
1 answer

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 in accordance with a list of networks. I’ve got…