mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-28 11:05:49 +03:00
[GH-ISSUE #390] 成功安装证书后按照文档在手机配置,手机提示失败、不安全,服务端报错 #365
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Kenny-Ch on GitHub (Jun 24, 2023).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/390
任务列表
问题描述

成功安装证书后按照文档在手机配置,添加vpn后点击连接,手机提示失败、不安全,服务端报错如下
ISAKMP_v2_IKE_SA_INIT message received on 172.17.0.10:500 but no suitable connection found with IKEv2 policyresponding to IKE_SA_INIT (34) message (Message ID 0) with unencrypted notification NO_PROPOSAL_CHOSEN重现步骤
重现该 bug 的步骤:
期待的正确结果
成功连接服务器
日志

服务器信息(请填写以下信息)
客户端信息(请填写以下信息)
其它信息
添加关于该 bug 的其它信息。
@hwdsl2 commented on GitHub (Jun 24, 2023):
@Kenny-Ch 你好!该错误信息说明Docker 容器内可能未成功启动 IKEv2 连接。可以使用
docker exec -it ipsec-vpn-server ipsec status命令检查,在输出中应该有包含ikev2-cp的行。如果没有相关行,则 IKEv2 未成功启动,具体原因可以检查服务端的 Docker 容器中 Libreswan 启动时的相关错误日志。你也可以尝试移除 ikev2-vpn-data 并重新创建容器。具体步骤请点击这里,展开"移除 IKEv2 并使用自定义选项重新配置"并参见选项 2。