mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-28 11:05:49 +03:00
[GH-ISSUE #365] 使用StrongSwan客户端连接docker服务端提示用户鉴权失败 #339
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 @KongGuoguang on GitHub (Apr 13, 2023).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/365
Android系统手机,docker镜像是arm32位,一直报这个错,
手头还有另外一个arm64的机器,dockers部署之后连接正常,
贴上strongswan客户端的日志
[redacted]
@hwdsl2 commented on GitHub (Apr 13, 2023):
@KongGuoguang 你好!你的客户端日志显示错误
received TS_UNACCEPTABLE notify, no CHILD_SA built,你可以在服务器上启用 Libreswan 日志,然后重新尝试连接并检查服务器日志中的具体错误,并在这里回复。@KongGuoguang commented on GitHub (Apr 13, 2023):
启用 Libreswan 日志的命令无法执行
root@hi3798mv100:~# docker exec -it ipsec-vpn-server env TERM=xterm bash -l
3e07a11d8831:/opt/src# apt-get update && apt-get -y install rsyslog
bash: apt-get: command not found
3e07a11d8831:/opt/src#
@hwdsl2 commented on GitHub (Apr 13, 2023):
@KongGuoguang Follow instructions for the Alpine-based image:
@KongGuoguang commented on GitHub (Apr 14, 2023):
感谢大佬指点,日志拿到了
Libreswan日志.txt [redacted]
@hwdsl2 commented on GitHub (Apr 15, 2023):
@KongGuoguang 看了你提供的日志。与此问题相关部分如下:
这说明你的 arm32 的 Docker 主机的 Linux 内核对 IPsec 的支持有一些问题,所以连接不能成功建立。建议你另外使用比如 arm64 的 Docker 主机。