hwdsl2 / docker-ipsec-vpn-server

Docker image to run an IPsec VPN server, with IPsec/L2TP, Cisco IPsec and IKEv2
https://hub.docker.com/r/hwdsl2/ipsec-vpn-server
Other
6.37k stars 1.38k forks source link

Maximum retries exceeded for tunnel 5391. Closing. #374

Closed tianwanqiang closed 1 year ago

tianwanqiang commented 1 year ago

Debain9 The docker log says :

Maximum retries exceeded for tunnel 5391.  Closing.
xl2tpd[1]: Connection 1 closed to my_ip, port 1701 (Timeout)
xl2tpd[1]: Unable to deliver closing message for tunnel 5391. Destroying anyway.

And the vpn-client can't login

hwdsl2 commented 1 year ago

@tianwanqiang Hello! This error could mean that there are network issues between the VPN client and server. You may enable Libreswan logs, try the VPN connection again, then check the logs for errors. You can also try IKEv2 mode, which is recommended over IPsec/L2TP mode.