[GH-ISSUE #461] 【IPsec协议】4G网络可以连接,5G路由器连接PC,pc连接不了这个服务,这是什么情况 #429

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

Originally created by @Wpenga on GitHub (Dec 2, 2024).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/461

xl2tpd[1]: Unable to deliver closing message for tunnel 60984. Destroying anyway.
提示如上,使用IPsec协议

xl2tpd[1]: network_thread: unable to find call or tunnel to handle packet.  call = 35238, tunnel = 3877 Dumping.

xl2tpd[1]: Connection established to <ip>, 1701.  Local: 21366, Remote: 28 (ref=0/0).  LNS session is 'default'

xl2tpd[1]: Call established with <ip>, PID: 43735, Local: 14875, Remote: 1, Serial: 0

xl2tpd[1]: write_packet: tty is not open yet.

xl2tpd[1]: Maximum retries exceeded for tunnel 21366.  Closing.

xl2tpd[1]: Connection 28 closed to <ip>, port 1701 (Timeout)

xl2tpd[1]: Unable to deliver closing message for tunnel 21366. Destroying anyway.

xl2tpd[1]: Connection established to <ip>, 1701.  Local: 11954, Remote: 15 (ref=0/0).  LNS session is 'default'

xl2tpd[1]: check_control: Received out of order control packet on tunnel 15 (got 3, expected 2)

xl2tpd[1]: handle_control: bad control packet!

xl2tpd[1]: Call established with <ip>, PID: 44415, Local: 8150, Remote: 1, Serial: 0

xl2tpd[1]: Maximum retries exceeded for tunnel 11954.  Closing.

xl2tpd[1]: Connection 15 closed to <ip>, port 1701 (Timeout)

xl2tpd[1]: get_call: can't find call 8150 in tunnel 11954

 (ref=0/0)xl2tpd[1]: Unable to deliver closing message for tunnel 11954. Destroying anyway.
Originally created by @Wpenga on GitHub (Dec 2, 2024). Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/461 xl2tpd[1]: Unable to deliver closing message for tunnel 60984. Destroying anyway. 提示如上,使用IPsec协议 ``` xl2tpd[1]: network_thread: unable to find call or tunnel to handle packet. call = 35238, tunnel = 3877 Dumping. xl2tpd[1]: Connection established to <ip>, 1701. Local: 21366, Remote: 28 (ref=0/0). LNS session is 'default' xl2tpd[1]: Call established with <ip>, PID: 43735, Local: 14875, Remote: 1, Serial: 0 xl2tpd[1]: write_packet: tty is not open yet. xl2tpd[1]: Maximum retries exceeded for tunnel 21366. Closing. xl2tpd[1]: Connection 28 closed to <ip>, port 1701 (Timeout) xl2tpd[1]: Unable to deliver closing message for tunnel 21366. Destroying anyway. xl2tpd[1]: Connection established to <ip>, 1701. Local: 11954, Remote: 15 (ref=0/0). LNS session is 'default' xl2tpd[1]: check_control: Received out of order control packet on tunnel 15 (got 3, expected 2) xl2tpd[1]: handle_control: bad control packet! xl2tpd[1]: Call established with <ip>, PID: 44415, Local: 8150, Remote: 1, Serial: 0 xl2tpd[1]: Maximum retries exceeded for tunnel 11954. Closing. xl2tpd[1]: Connection 15 closed to <ip>, port 1701 (Timeout) xl2tpd[1]: get_call: can't find call 8150 in tunnel 11954 (ref=0/0)xl2tpd[1]: Unable to deliver closing message for tunnel 11954. Destroying anyway. ```
kerem closed this issue 2026-03-02 08:18:53 +03:00
Author
Owner

@hwdsl2 commented on GitHub (Dec 2, 2024):

@Wpenga 你好!对于你的用例,从服务器日志来看,可能是客户端和服务器之间的网络问题导致 IPsec/L2TP 连接中断。具体原因未知,有可能是你的5G路由器对 IPsec 协议支持不太好,或者其他原因。建议你尝试 IKEv2 模式连接,或者换用 IPsec VPN 以外的其他解决方案,

<!-- gh-comment-id:2511577787 --> @hwdsl2 commented on GitHub (Dec 2, 2024): @Wpenga 你好!对于你的用例,从服务器日志来看,可能是客户端和服务器之间的网络问题导致 IPsec/L2TP 连接中断。具体原因未知,有可能是你的5G路由器对 IPsec 协议支持不太好,或者其他原因。建议你尝试 [IKEv2 模式](https://github.com/hwdsl2/docker-ipsec-vpn-server/blob/master/README-zh.md#%E9%85%8D%E7%BD%AE%E5%B9%B6%E4%BD%BF%E7%94%A8-ikev2-vpn)连接,或者换用 IPsec VPN 以外的其他解决方案,
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#429
No description provided.