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.

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.

45 questions
9
votes
0 answers

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]: handle_avps: handling avp's for tunnel 46247, call…
Konrads
  • 860
  • 2
  • 20
  • 38
6
votes
1 answer

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 public IP address behind NAT. But when there are…
Fentik
  • 61
  • 1
  • 2
3
votes
1 answer

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 mtu 1500 inet…
Boris
  • 31
  • 5
3
votes
1 answer

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 connection from my Mac OSX computer right from…
Lashae
  • 183
  • 1
  • 12
2
votes
0 answers

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 deleted. When the ‘persist’ option is entered in…
Sam Hester
  • 21
  • 3
2
votes
1 answer

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 connections seems to work and I get an ip address…
2
votes
2 answers

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 Linux release 7.0.1406 (Core) based on Digital…
Insspb
  • 33
  • 6
2
votes
0 answers

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 uses pppd and pppd authenticates users via a…
terminal
  • 41
  • 3
2
votes
0 answers

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 to be established correctly, connection to xl2tpd…
Damn Terminal
  • 517
  • 3
  • 7
2
votes
1 answer

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 to from my Android phone. I followed the…
David North
  • 762
  • 1
  • 5
  • 12
1
vote
0 answers

FreeRADIUS 3, libradcli4 and ppp compatibility

I'm using Freeradius to authenticate VPN clients using PPTP or L2TP/IPSec (xl2tpd) and I want to do an upgrade from Debian 8 to 9 on our servers incl. upgrading version of Freeradius (2 -> 3). Both PPTP and L2TP are using radius.so plugin in their…
Naxos
  • 11
  • 1
1
vote
0 answers

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: mtu 1500 qdisc mq state UP group…
2A-66-42
  • 111
  • 3
1
vote
1 answer

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 =**** Phase 1 Exchange Type = aggressive DH…
1
vote
0 answers

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
Priyan R
  • 171
  • 1
  • 6
1
vote
0 answers

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: client --> server --> vpn or socks server -->…
cegfault
  • 145
  • 1
  • 4
1
2 3