5 Comments

  1. 你好,我也是遇到了这个问题,按照你的方法我尝试了,那是还是连接不上去,我使用xl2tpd -D,当使用windows连接时会有响应,但是当用ios设备连接时,就没有反应,请问还有什么解决方法吗

  2. james

    你好,能问下你是用哪个linux发行版上安装的L2TP?是如何安装的?我在Linode上使用ubuntu安装了l2tp,前不久没问题,现在突然怎么都连不上了,改用pptp是没有问题的,可是l2tp就是不行,排查了半天也没有找到问题。

  3. hank

    为什么我的PSK密匙不起作用呢?就是不填PSK也能连,但是iphone就是连不上?
    Aug 8 17:10:13 (none) ipsec__plutorun: adjusting ipsec.d to /etc/ipsec.d
    Aug 8 17:10:13 (none) ipsec__plutorun: 002 added connection description “L2TP-PSK-NAT”
    Aug 8 17:10:13 (none) ipsec__plutorun: 002 added connection description “L2TP-PSK-noNAT”
    Aug 8 17:10:13 (none) ipsec__plutorun: 003 NAT-Traversal: Trying new style NAT-T
    Aug 8 17:10:13 (none) ipsec__plutorun: 003 NAT-Traversal: ESPINUDP(1) setup failed for new style NAT-T family IPv4 (errno=19)
    Aug 8 17:10:13 (none) ipsec__plutorun: 003 NAT-Traversal: Trying old style NAT-T
    Aug 8 17:10:13 (none) ipsec__plutorun: 022 “passthrough-for-non-l2tp”: we cannot identify ourselves with either end of this connection
    Aug 8 17:10:19 (none) xl2tpd[5139]: death_handler: Fatal signal 15 received
    Aug 8 17:10:20 (none) xl2tpd[5769]: Enabling IPsec SAref processing for L2TP transport mode SAs
    Aug 8 17:10:20 (none) xl2tpd[5769]: IPsec SAref does not work with L2TP kernel mode yet, enabling forceuserspace=yes
    Aug 8 17:10:20 (none) xl2tpd[5769]: setsockopt recvref[22]: Protocol not available
    Aug 8 17:10:20 (none) xl2tpd[5769]: This binary does not support kernel L2TP.
    Aug 8 17:10:20 (none) xl2tpd[5770]: xl2tpd version xl2tpd-1.2.6 started on li382-99 PID:5770
    Aug 8 17:10:20 (none) xl2tpd[5770]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
    Aug 8 17:10:20 (none) xl2tpd[5770]: Forked by Scott Balmos and David Stipp, (C) 2001
    Aug 8 17:10:20 (none) xl2tpd[5770]: Inherited by Jeff McAdams, (C) 2002
    Aug 8 17:10:20 (none) xl2tpd[5770]: Forked again by Xelerance (www.xelerance.com) (C) 2006
    Aug 8 17:10:20 (none) xl2tpd[5770]: Listening on IP address 0.0.0.0, port 1701

Leave a Reply

Your email address will not be published. Required fields are marked *