Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [xl2tpd]

xl2tpd is a layer 2 tunneling protocol client/daemon for Linux. It's typically used to configure PPP tunnels as part of a VPN. Since it provides only simple, unencrypted tunnels, it's usually used in conjunction with IPSec.

10
votes
0answers
2k views

Android to openswan/xl2tpd/pppd error: result_code_avp: avp is incorrect size. 8 < 10

I am trying to use a simple Android 4.4.4 VPN connection to openswan/xl2tpd/pppd combo. the IPSec SA works, but xl2tpd at one point terminates the pppd and this shows up in logs: xl2tpd[17990]: ...
5
votes
1answer
2k views

IPSec + L2TP + NAT-Traversal does not work for multiple clients behind same nat

I have recently configured a VPN server hosted in AWS EC2. Details: Centos 6.4, openswan, xl2tpd, NAT-traversal. The configuration works great for a scenario when only one user connects form a given ...
3
votes
1answer
331 views

strongSwan 5.6.2 and xl2tp 1.3.12 on Ubuntu 18.04 SA established but no traffic

Since updating strongSwan and xl2tpd to the latest versions available for Ubuntu I encounter a problem with ESP and AH in L2TP. Server config: Interface for generating traffic ens224: flags=4163<...
2
votes
1answer
568 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 ...
2
votes
0answers
350 views

Separate L2TP/IPsec VPNs with dynamic VLAN assignment

I am working on a Linux (Debian 7) VPN concentrator for different kinds of remote access. One of the offered protocols is L2TP/IPsec because of the client availability. I am using xl2tpd which in turn ...
2
votes
1answer
1k views

L2TP VPN Connection on Debian Squeeze

I need to make an L2TP VPN connection from a Debian Squeeze server. What I have is: The server IP address Shared Key My username and password Just using these 3 parameteres I can establish the VPN ...
1
vote
1answer
6k views

strongSwan + xl2tpd VPN server: how to configure several config files?

I set up my VPN server with strongSwan and xl2tpd on Ubuntu server 16.04. After configuring, I tried to connect from a iPad, but got the errors as follows: Mar 26 02:22:13 myname-ubuntu-server charon:...
1
vote
2answers
882 views

Seeing Who is Logged into LibreSwan VPN

We recently setup a LibreSwan VPN and for the most part it is working great. One thing we are having some trouble with is trying to see who is currently logged in. I found a solution for seeing ...
1
vote
1answer
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 ...
1
vote
1answer
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 ...
1
vote
2answers
9k views

Openswan + xl2tpd connections time out after a while

I have a non-NATed Openswan+xl2tpd server (Ubuntu 12.04), to which I connect with a Windows 8 behind NAT. The client loses its connection after a while of doing nothing (between 30 and 60 minutes, but ...
1
vote
0answers
79 views

Openswan l2tp vpn ppp wrong ip address

Using Openswan with xl2tp on archlinux (4.20) to connect to a vpn, I can create the tunnel and the ppp interface is created howerver it gets the wrong ip address: enp4s0: <BROADCAST,MULTICAST,...
1
vote
0answers
432 views

Strongswan + xl2tpd vpn client Assigning static ip address for ppp interfaces

I have strongswan + xl2tpd vpn client working, it assigns ip address to ppp interface via dhcp from vpn server, how can i assign static ip for the ppp interface discarding dhcp
1
vote
0answers
330 views

Proxy vpn traffic into socks or second vpn

I have an Ubuntu 16.04 server that I have running xl2tp and openvpn as a VPN server. However, I want the server itself to be connected to either a SOCKS Proxy or another OpenVPN connection. That is: ...
1
vote
1answer
1k views

OpenWRT StrongSwan IPsec client connection (XAuth authentication of 'user' (myself) failed)

I am trying to configure my OpenWRT router to connect to a remote VPN server. The credentials that I have are correct, but for some reason the connection is failing to authenticate on the router. Here ...
1
vote
0answers
546 views

Xl2tpd + pppd tunnel persist error

The issue I am experiencing is based around a l2tp tunnel from a Raspberry pi3 to our radius server. If there is no response from the server for over a minuet the ‘ppp0’ interface made by xl2tpd gets ...
1
vote
1answer
2k 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, stronswan 5.1.3, xl2tp 1.3.0) I ...
1
vote
0answers
112 views

OpenSwan and L2TPd traversing secondary gateway

I need some help with a networking project using Linux (RHEL based) and open swan with L2TPd (xl2tpd). While the initial setup works great, I want my VPN traffic to traverse over the secondary ...
1
vote
0answers
213 views

ubuntu xl2tp ppp0 not properly handling the DF flag (Packet Corrupt) while sending packages > defined MTU

While trying to setup an Ubuntu Linux server as a client to an l2tp/IPSEC server, I notice inconsistencies while trying to send data. The tunnel/VPN establish the connection / handshake properly and ...
1
vote
2answers
1k 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 ...
1
vote
0answers
2k views

Cannot connect to IPSEC/L2TP VPN Arch Linux/Windows 8

I have check a lot of other L2TP/IPsec VPN post and none of them seem to quite match the issues I am having so here is what going on. I am trying to set up a VPN on my Arch Linux server that I can ...
1
vote
0answers
386 views

IPsec connection established but xl2tpd times out

This may or may not be related to my problem with passing ipsec verify. I have configured L2TP/IPsec VPN on Ubuntu 13.04 following Ubuntu's community documentation and while IPsec connection seems ...
1
vote
1answer
2k views

VPN with xl2tpd and racoon - how to NAT traffic out of non-default IP address

I have a server running Debian which has networking like this: eth0 - has public IP address 1.2.3.4 eth1 - has public IP address 1.2.3.5 I'm trying to set up a VPN on the server which I can connect ...
0
votes
1answer
2k views

ubuntu 16.04 l2tp over ipsec

i have vpn server and i use this tutorial to connect l2tpd over ipsec: https://github.com/hwdsl2/setup-ipsec-vpn/blob/master/docs/clients.md#linux http://www.jasonernst.com/2016/06/21/l2tp-ipsec-vpn-...
0
votes
1answer
137 views

IDir '193.174.193.64' does not match to 'vpngw.fh-kempten.de

I am trying to configure my client using VPN (strongswan) to access the remote server whose DNS is vpngw.fh-kempten.de Details of my remote VPN Server are: Authentication Method = Mutual +XAuth PSK =*...
0
votes
2answers
797 views

radiusclient on debian 9

I have debian 9 server and want to setup a Xl2tp with radius authentication. When I add plugin radius.so on my ppp options, it try to read /etc/radiusclient and unfortunately I don't have ...
0
votes
1answer
398 views

L2TP/IPsec server - reserve an IP address to a certain user in AD

I have set up a rather simple L2TP/IPsec server with xl2tpd, which has a pool of IP addresses in xl2tpd.conf configured for VPN clients. I now need to assign a certain IP address to a VPN client if ...
0
votes
0answers
411 views

Routing to L2TP/IPSec VPN (strongswan, xl2tpd). Can ping server inside VPN, cannot ssh (SSH is not ESP payload)

I created a L2TP/IPSec tunnel and I am struggling with routing, I cannot SSH to a machine in the remote network. My local system is Debian buster (current testing). Here is my local networkg config; ...
0
votes
1answer
618 views

How to connect VPN Client Openswan

I have VPN server using Openswan with address 103.19.208.247 Then, i want connect my laptop (CENTOS) with IP 103.19.208.243 to VPN server. Here my configuration: /etc/ipsec.conf config setup ...
0
votes
1answer
780 views

I can't connect to my L2TP server from Windows and Android clients

On my Ubuntu 16.04 server xl2tpd service running successful. My /etc/ipsec.conf: version 2.0 config setup nat_traversal=yes oe=off protostack=netkey conn L2TP-PSK authby=secret ...
0
votes
0answers
962 views

unable to install inbound and outbound IPsec SA (SAD) in kernel

I'm trying to install L2TP over IPsec using strognswan and xl2tp daemon. this is my config : conn L2TP-PSK-NAT also=L2TP-PSK-noNAT conn L2TP-PSK-noNAT authby=secret auto=...
0
votes
0answers
899 views

Strongswan IPSec + XL2TP connection not working

I am trying to set up a VPN (Strongswan + xl2tpd) between my desktop and a server in AWS both running Linux (Ubuntu) but I really am getting lost. I believe I have the IPSec part working but I am not ...
0
votes
1answer
3k views

StrongSwan + xl2tpd client timeout between 2-5 minutes

I run CentOS 6.4 on Amazon EC2, using xl2tpd-1.3.1 from EPEL repository together with StrongSwan 5.0.4. I setup a simple IPSec connection: conn l2tp type=transport keyexchange=ikev1 ...
0
votes
1answer
455 views

ipsec (openswan) routing or dns issue with iphone

I got an established VPN connection, but either the routing or the resolving is not working. The configuration is taken from http://louwrentius.com/blog/2011/12/setting-up-a-vpn-with-your-iphone-using-...
-3
votes
1answer
631 views

How to proxy a l2tp server? [closed]

My topologic is : Host1(MyL2TP Client) <=========> Host2 (L2TP Server, SOCKS5 Proxy Client) <==========> Host3(SOCKS5 Proxy Server) <======> Internet Host2 is ubuntu14.04, how ...