L2TP 一键安装包 俢改chap-secrets后无法联线
时间:2014-03-05
来源:互联网
原本
[ 本帖最后由 99236299 於 2013-11-3 05:40 PM 编辑 ]
复制内容到剪贴板代码:[root~]# vi /etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# client server secret IP addresses
test l2tpd test123 *
~
俢改前l2tpd debug mode LOG
# Secrets for authentication using CHAP
# client server secret IP addresses
test l2tpd test123 *
~
复制内容到剪贴板代码:xl2tpd[20268]: Enabling IPsec SAref processing for L2TP transport mode SAs
xl2tpd[20268]: IPsec SAref does not work with L2TP kernel mode yet, enabling for ceuserspace=yes
xl2tpd[20268]: setsockopt recvref[22]: Protocol not available
xl2tpd[20268]: This binary does not support kernel L2TP.
xl2tpd[20268]: xl2tpd version xl2tpd-1.2.4 started on li385-236 PID:20268
xl2tpd[20268]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
xl2tpd[20268]: Forked by Scott Balmos and David Stipp, (C) 2001
xl2tpd[20268]: Inherited by Jeff McAdams, (C) 2002
xl2tpd[20268]: Forked again by Xelerance (www.xelerance.com) (C) 2006
xl2tpd[20268]: Listening on IP address 0.0.0.0, port 1701
[color=Red]xl2tpd[20268]: control_finish: Peer requested tunnel 35 twice, ignoring second o ne.
xl2tpd[20268]: Connection established to 210.*.*.***, 1701. Local: 1538, Remo te: 35 (ref=0/0). LNS session is 'default'
xl2tpd[20268]: result_code_avp: result code not appropriate for Incoming-Call-Re quest. Ignoring.
xl2tpd[20268]: start_pppd: I'm running:
xl2tpd[20268]: "/usr/sbin/pppd"
xl2tpd[20268]: "passive"
xl2tpd[20268]: "nodetach"
xl2tpd[20268]: "10.0.99.1:10.0.99.2"
xl2tpd[20268]: "refuse-pap"
xl2tpd[20268]: "refuse-chap"
xl2tpd[20268]: "auth"
xl2tpd[20268]: "debug"
xl2tpd[20268]: "file"
xl2tpd[20268]: "/etc/ppp/options.xl2tpd"
xl2tpd[20268]: "/dev/pts/1"
xl2tpd[20268]: Call established with 210.*.***.***, Local: 10990, Remote: 1, Ser ial: 0
xl2tpd[20268]: control_finish: Connection closed to 210.*.***.***, serial 0 ()
xl2tpd[20268]: Terminating pppd: sending TERM signal to pid 20287
xl2tpd[20268]: pppd 20287 successfully terminated[/color]
俢改
xl2tpd[20268]: IPsec SAref does not work with L2TP kernel mode yet, enabling for ceuserspace=yes
xl2tpd[20268]: setsockopt recvref[22]: Protocol not available
xl2tpd[20268]: This binary does not support kernel L2TP.
xl2tpd[20268]: xl2tpd version xl2tpd-1.2.4 started on li385-236 PID:20268
xl2tpd[20268]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
xl2tpd[20268]: Forked by Scott Balmos and David Stipp, (C) 2001
xl2tpd[20268]: Inherited by Jeff McAdams, (C) 2002
xl2tpd[20268]: Forked again by Xelerance (www.xelerance.com) (C) 2006
xl2tpd[20268]: Listening on IP address 0.0.0.0, port 1701
[color=Red]xl2tpd[20268]: control_finish: Peer requested tunnel 35 twice, ignoring second o ne.
xl2tpd[20268]: Connection established to 210.*.*.***, 1701. Local: 1538, Remo te: 35 (ref=0/0). LNS session is 'default'
xl2tpd[20268]: result_code_avp: result code not appropriate for Incoming-Call-Re quest. Ignoring.
xl2tpd[20268]: start_pppd: I'm running:
xl2tpd[20268]: "/usr/sbin/pppd"
xl2tpd[20268]: "passive"
xl2tpd[20268]: "nodetach"
xl2tpd[20268]: "10.0.99.1:10.0.99.2"
xl2tpd[20268]: "refuse-pap"
xl2tpd[20268]: "refuse-chap"
xl2tpd[20268]: "auth"
xl2tpd[20268]: "debug"
xl2tpd[20268]: "file"
xl2tpd[20268]: "/etc/ppp/options.xl2tpd"
xl2tpd[20268]: "/dev/pts/1"
xl2tpd[20268]: Call established with 210.*.***.***, Local: 10990, Remote: 1, Ser ial: 0
xl2tpd[20268]: control_finish: Connection closed to 210.*.***.***, serial 0 ()
xl2tpd[20268]: Terminating pppd: sending TERM signal to pid 20287
xl2tpd[20268]: pppd 20287 successfully terminated[/color]
复制内容到剪贴板代码:[root~]# vi /etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# client server secret IP addresses
test l2tpd test123 *
hkepcdemo l2tpd hkepc123 *
~
俢改chap-secrets 后 xl2tpd debug mode LOG
# Secrets for authentication using CHAP
# client server secret IP addresses
test l2tpd test123 *
hkepcdemo l2tpd hkepc123 *
~
复制内容到剪贴板代码:xl2tpd[20601]: Enabling IPsec SAref processing for L2TP transport mode SAs
xl2tpd[20601]: IPsec SAref does not work with L2TP kernel mode yet, enabling forceuserspace=yes
xl2tpd[20601]: setsockopt recvref[22]: Protocol not available
xl2tpd[20601]: This binary does not support kernel L2TP.
xl2tpd[20601]: xl2tpd version xl2tpd-1.2.4 started on li385-236 PID:20601
xl2tpd[20601]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
xl2tpd[20601]: Forked by Scott Balmos and David Stipp, (C) 2001
xl2tpd[20601]: Inherited by Jeff McAdams, (C) 2002
xl2tpd[20601]: Forked again by Xelerance (www.xelerance.com) (C) 2006
xl2tpd[20601]: Listening on IP address 0.0.0.0, port 1701
无法联线xl2tpd[20601]: IPsec SAref does not work with L2TP kernel mode yet, enabling forceuserspace=yes
xl2tpd[20601]: setsockopt recvref[22]: Protocol not available
xl2tpd[20601]: This binary does not support kernel L2TP.
xl2tpd[20601]: xl2tpd version xl2tpd-1.2.4 started on li385-236 PID:20601
xl2tpd[20601]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
xl2tpd[20601]: Forked by Scott Balmos and David Stipp, (C) 2001
xl2tpd[20601]: Inherited by Jeff McAdams, (C) 2002
xl2tpd[20601]: Forked again by Xelerance (www.xelerance.com) (C) 2006
xl2tpd[20601]: Listening on IP address 0.0.0.0, port 1701
[ 本帖最后由 99236299 於 2013-11-3 05:40 PM 编辑 ]
作者: 99236299 发布时间: 2014-03-05
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28