[GH-ISSUE #128] amozon ec2 ubuntu16.04 docker方式 看日志好像是内核不支持 请问该怎么解决呢? #114

Closed
opened 2026-03-02 07:27:52 +03:00 by kerem · 3 comments
Owner

Originally created by @xgbyl on GitHub (Mar 6, 2019).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/128

Redirecting to: /etc/init.d/ipsec start
Starting pluto IKE daemon for IPsec: .
xl2tpd[1]: Not looking for kernel SAref support.
xl2tpd[1]: L2TP kernel support not detected (try modprobing l2tp_ppp and pppol2tp)
xl2tpd[1]: xl2tpd version xl2tpd-1.3.12 started on e0e4434be224 PID:1
xl2tpd[1]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
xl2tpd[1]: Forked by Scott Balmos and David Stipp, (C) 2001
xl2tpd[1]: Inherited by Jeff McAdams, (C) 2002
xl2tpd[1]: Forked again by Xelerance (www.xelerance.com) (C) 2006-2016
xl2tpd[1]: Listening on IP address 0.0.0.0, port 1701

Originally created by @xgbyl on GitHub (Mar 6, 2019). Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/128 Redirecting to: /etc/init.d/ipsec start Starting pluto IKE daemon for IPsec: . xl2tpd[1]: Not looking for kernel SAref support. xl2tpd[1]: L2TP kernel support not detected (try modprobing l2tp_ppp and pppol2tp) xl2tpd[1]: xl2tpd version xl2tpd-1.3.12 started on e0e4434be224 PID:1 xl2tpd[1]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc. xl2tpd[1]: Forked by Scott Balmos and David Stipp, (C) 2001 xl2tpd[1]: Inherited by Jeff McAdams, (C) 2002 xl2tpd[1]: Forked again by Xelerance (www.xelerance.com) (C) 2006-2016 xl2tpd[1]: Listening on IP address 0.0.0.0, port 1701
kerem closed this issue 2026-03-02 07:27:52 +03:00
Author
Owner

@hwdsl2 commented on GitHub (Mar 6, 2019):

@xgbyl 你好!该信息可以忽略(不影响使用)。使用内核支持有助于提高 IPsec/L2TP 性能,在 Ubuntu 16.04 上需要安装 linux-modules-extra-$(uname -r) 软件包,然后重启服务器。

<!-- gh-comment-id:469995100 --> @hwdsl2 commented on GitHub (Mar 6, 2019): @xgbyl 你好!该信息可以忽略(不影响使用)。使用内核支持有助于提高 IPsec/L2TP 性能,在 Ubuntu 16.04 上需要安装 `linux-modules-extra-$(uname -r)` 软件包,然后重启服务器。
Author
Owner

@xgbyl commented on GitHub (Mar 6, 2019):

@xgbyl 你好!该信息可以忽略(不影响使用)。使用内核支持有助于提高 IPsec/L2TP 性能,在 Ubuntu 16.04 上需要安装 linux-modules-extra-$(uname -r) 软件包,然后重启服务器。

但是我现在使用iphone进行配置连接不上, 账户、密码、服务器以及密钥配置检查多次,没有问题 ,但就是无法连接,提示“VPN服务器并未相应” , 有可能是什么原因呢 该怎么去排查?

<!-- gh-comment-id:469998367 --> @xgbyl commented on GitHub (Mar 6, 2019): > > > @xgbyl 你好!该信息可以忽略(不影响使用)。使用内核支持有助于提高 IPsec/L2TP 性能,在 Ubuntu 16.04 上需要安装 `linux-modules-extra-$(uname -r)` 软件包,然后重启服务器。 但是我现在使用iphone进行配置连接不上, 账户、密码、服务器以及密钥配置检查多次,没有问题 ,但就是无法连接,提示“VPN服务器并未相应” , 有可能是什么原因呢 该怎么去排查?
Author
Owner

@hwdsl2 commented on GitHub (Mar 6, 2019):

@xgbyl Amazon EC2 服务器的安全组必须打开 UDP 端口 500 和 4500。另外你可以启用并检查日志。如果尝试连接后没有新的日志,则连接没有到达服务器。

https://github.com/hwdsl2/docker-ipsec-vpn-server/blob/master/README-zh.md#启用-libreswan-日志

<!-- gh-comment-id:469999524 --> @hwdsl2 commented on GitHub (Mar 6, 2019): @xgbyl Amazon EC2 服务器的安全组必须打开 UDP 端口 500 和 4500。另外你可以启用并检查日志。如果尝试连接后没有新的日志,则连接没有到达服务器。 https://github.com/hwdsl2/docker-ipsec-vpn-server/blob/master/README-zh.md#启用-libreswan-日志
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/docker-ipsec-vpn-server#114
No description provided.