mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-25 17:45:55 +03:00
[GH-ISSUE #481] 安卓15,IKEv2方式连接失败,报错: 用户鉴权失败 #451
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 @JUSTWILLPOWER on GitHub (Sep 7, 2025).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/481
任务列表
问题描述
我按照教程在我的dsm上用docker搭建了服务器,下载p12文件在windows上面连接成功,但是将p12安装在安卓手机上后,直接使用自带的vpn连接(类型: IKEv2/IPSec RSA)失败了,然后下载sswan配置,尝试使用客户端strongSwan后,报错,无法建立vpn: 用户鉴权失败,可以肯定的是域名和服务器的输出是一致的,但是还是出现了这个问题
重现步骤
重现该 bug 的步骤:
期待的正确结果
连接成功
日志
启用日志,检查 VPN 状态,并且添加错误日志以帮助解释该问题(如果适用)。
服务器没问题
服务器信息(请填写以下信息)
群晖7.2
自家公网
客户端信息(请填写以下信息)
vivo x200s
(android 15)
IKEv2
其它信息
@hwdsl2 commented on GitHub (Sep 7, 2025):
@JUSTWILLPOWER 你好!请启用服务器上的 Libreswan 日志,再次尝试连接,然后查看日志是否有错误:
https://github.com/hwdsl2/docker-ipsec-vpn-server/blob/master/docs/advanced-usage-zh.md#%E5%90%AF%E7%94%A8-libreswan-%E6%97%A5%E5%BF%97
@hwdsl2 commented on GitHub (Sep 8, 2025):
@JUSTWILLPOWER 该镜像当前与群晖 Synology NAS 系统不兼容。请参见之前类似的 Issue,比如 https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/357, https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/365. 对于此用例,建议你尝试一下其他解决方案。