IPsec SAref 尚不能与 L2TP 内核模式兼容

IPsec SAref 尚不能与 L2TP 内核模式兼容

xl2tpd-D回显:

xl2tpd[7681]: Enabling IPsec SAref processing for L2TP transport mode SAs
xl2tpd[7681]: IPsec SAref does not work with L2TP kernel mode yet, enabling forceuserspace=yes
xl2tpd[7681]: init_network: Unable to bind socket: Address already in use. Terminating.

我下一步该做什么?我想在我的 vps 上建立一个 vpn 服务器。

答案1

只需让 xl2tpd 在用户空间中运行,它会比较慢,但对我来说有效。

仅供参考-我不觉得它很慢。

来源:我的守护进程.log

Oct  4 18:29:39 tk xl2tpd[22238]: Enabling IPsec SAref processing for L2TP transport mode SAs
Oct  4 18:29:39 tk xl2tpd[22238]: IPsec SAref does not work with L2TP kernel mode yet, enabling forceuserspace=yes
Oct  4 18:29:39 tk xl2tpd[22238]: setsockopt recvref[30]: Protocol not available
Oct  4 18:29:39 tk xl2tpd[22238]: This binary does not support kernel L2TP.
Oct  4 18:29:39 tk xl2tpd[22239]: xl2tpd version xl2tpd-1.3.1 started on tk PID:22239
Oct  4 18:29:39 tk xl2tpd[22239]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
Oct  4 18:29:39 tk xl2tpd[22239]: Forked by Scott Balmos and David Stipp, (C) 2001
Oct  4 18:29:39 tk xl2tpd[22239]: Inherited by Jeff McAdams, (C) 2002
Oct  4 18:29:39 tk xl2tpd[22239]: Forked again by Xelerance (www.xelerance.com) (C) 2006
Oct  4 18:29:39 tk xl2tpd[22239]: Listening on IP address 0.0.0.0, port 1701

相关内容