Hi
I have problem when I connect to my ISP with l2tp.
l2tp connections with my phone runs without problem.
I use OpenBSD 6.0 and xl2tpd-1.3.1 from package.
My configuration file:
$ /etc/xl2tpd/xl2tpd.conf
[global]
access control = yes
auth file = /etc/ppp/chap-secrets
force userspace = yes
debug network = yes
debug avp = yes
debug packet = yes
debug state = yes
debug tunnel = yes
ipsec saref = yes
[lac provider]
lns = ip_address
redial = yes
redial timeout = 2
autodial = yes
hidden bit = no
flow bit = yes
length bit = yes
$ doas cat /etc/ppp/chap-secrets
username * password *
Debug log xl2tpd:
# xl2tpd -D
xl2tpd[90769]: Enabling IPsec SAref processing for L2TP transport mode SAs
xl2tpd[90769]: No attempt being made to use IPsec SAref's since we're not on a
Linux machine.
xl2tpd[90769]: This binary does not support kernel L2TP.
xl2tpd[90769]: xl2tpd version xl2tpd-1.3.1 started on myhostname.org
PID:90769
xl2tpd[90769]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
xl2tpd[90769]: Forked by Scott Balmos and David Stipp, (C) 2001
xl2tpd[90769]: Inherited by Jeff McAdams, (C) 2002
xl2tpd[90769]: Forked again by Xelerance (www.xelerance.com) (C) 2006
xl2tpd[90769]: Listening on IP address 0.0.0.0, port 1701
xl2tpd[90769]: get_call: allocating new tunnel for host ip_address, port
1701.
xl2tpd[90769]: Connecting to host ip_address, port 1701
xl2tpd[90769]: control_finish: message type is (null)(0). Tunnel is 0, call
is 0.
packet dump:
HEX: { C8 02 00 7A 00 00 00 00 00 00 00 00 80 08 00 00 00 00 00 01 80 08 00 00
00 02 01 00 80 0A 00 00 00 03 00 00 00 03 80 0A 00 00 00 04 00 00 00 00 80 08
00 00 00 06 06 90 80 1F 00 00 00 07 61 6D 69 68 61 69 6C 6F 76 2E 70 61 72 6B
2E 72 61 6D 62 6C 65 72 2E 72 75 80 13 00 00 00 08 78 65 6C 65 72 61 6E 63 65
2E 63 6F 6D 80 08 00 00 00 09 75 D5 80 08 00 00 00 0A 00 04 }
ASCII: { z
myhostname.org xelerance.com u }
xl2tpd[90769]: control_finish: sending SCCRQ
xl2tpd[90769]: udp_xmit failed to ip_address:1701 with err=-1:Invalid
argument
xl2tpd[90769]: network_thread: select timeout
xl2tpd[90769]: udp_xmit failed to ip_address:1701 with err=-1:Invalid
argument
xl2tpd[90769]: network_thread: select timeout
xl2tpd[90769]: udp_xmit failed to ip_address:1701 with err=-1:Invalid
argument
xl2tpd[90769]: network_thread: select timeout
xl2tpd[90769]: udp_xmit failed to ip_address:1701 with err=-1:Invalid
argument
xl2tpd[90769]: network_thread: select timeout
xl2tpd[90769]: udp_xmit failed to ip_address:1701 with err=-1:Invalid
argument
xl2tpd[90769]: network_thread: select timeout
xl2tpd[90769]: Maximum retries exceeded for tunnel 30165. Closing.
[demime 1.01d removed an attachment of type application/pgp-signature which had
a name of signature.asc]