[GH-ISSUE #268] 客户端超时时间问题 #250

Closed
opened 2026-03-02 08:00:47 +03:00 by kerem · 1 comment
Owner

Originally created by @NanLuF on GitHub (Dec 26, 2021).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/268

您好,windows11 中使用客户端的时候链接会自动中断,是否有长链接可以设置!

Originally created by @NanLuF on GitHub (Dec 26, 2021). Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/268 您好,windows11 中使用客户端的时候链接会自动中断,是否有长链接可以设置!
kerem closed this issue 2026-03-02 08:00:48 +03:00
Author
Owner

@hwdsl2 commented on GitHub (Dec 26, 2021):

@Freedooooom 你好!如果要调整客户端超时时间,你可以编辑 /etc/ipsec.conf 中的 dpdtimeout 值 [1]。请注意,现有的值 (120 秒)一般来说已经足够长。如果连接中断,有可能是你的 VPN 客户端和服务器之间的网络不稳定。

[1] github.com/hwdsl2/docker-ipsec-vpn-server@dbab2839c6/run.sh (L341)

<!-- gh-comment-id:1001197578 --> @hwdsl2 commented on GitHub (Dec 26, 2021): @Freedooooom 你好!如果要调整客户端超时时间,你可以编辑 `/etc/ipsec.conf` 中的 `dpdtimeout` 值 [1]。请注意,现有的值 (120 秒)一般来说已经足够长。如果连接中断,有可能是你的 VPN 客户端和服务器之间的网络不稳定。 [1] https://github.com/hwdsl2/docker-ipsec-vpn-server/blob/dbab2839c61ab42dc8e83ae1ddf723aa1d9dc04a/run.sh#L341
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#250
No description provided.