Open mdavidsaver opened 6 years ago
@ mdavidsaver can you please provide your xl2tpd configuraitons (I realize you provided a link to the tutorial you used but I just want to ensure I am looking at your latest configuration)
cat /etc/xl2tpd/xl2tpd.conf
[lac ABC]
lns = XXX.XXX.XXX.XXX
ppp debug = yes
pppoptfile = /etc/ppp/options.l2tpd.client
length bit = yes
cat /etc/ppp/options.l2tpd.client
ipcp-accept-local
ipcp-accept-remote
refuse-eap
require-chap
noccp
noauth
mtu 1280
mru 1280
noipdefault
defaultroute
usepeerdns
connect-delay 5000
name
password
/etc/xl2tpd/l2tp-secrets
contains only comments.
So the "Disconnect Cause Information" probably contains a message along the lines of "you're an idiot". I was omitting the username and password from options.l2tpd.client.
It happens to all of us. :smile:
Closing ticket. Good luck with your VPN.
I'll leave it you whether to reopen, but I intended this as a feature request. It would have saved me some portion of the past 2 hours if xl2tpd could parse Attribute Type 46 messages (RFC3145) and log the error information they contain.
Fair enough. Reopening this issue .
I'm trying to use strongswan+xl2tpd for the first time. I'm having some difficulty. The ipsec tunnel is apparently setup correctly, but the L2TP tunnel is not. The first error message I see is:
Following this leads me to L2TP Disconnect Cause Information RFC3145 and the conclusion that this is a symptom, not a cause. Still there might be useful troubleshooting information in here.
As background. I don't know what sort of device is on the other side of this connection, through I could find out if it's helpful. I'm using the debian packaged version 1.3.8+dfsg-1 of xl2tpd along with strongswan 5.5.1-4+deb9u2. I'm trying to follow these instructions.
The relevant (redacted) log messages from xl2tpd