I'm using OpenVPN client to establish a VPN connection automatically after reboot. Everything works fine. Client is on Windows
However, I noticed that if a client is connected to a OpenVPN server (Debian 11, connecting over UDP), when I change some settings in config of OpenVPN server and restart the OpenVPN server service, client gets disconnected (as expected), but never reconnect.
I have put directives into OpenVPN config, like:
Code: Select all
explicit-exit-notify 1
User must manually disconnect then connect again. That happens without issues.
Here is a part of a log from a server.
Code: Select all
2023-05-11 19:21:43 SOME_IP:49274 TLS: Initial packet from [AF_INET]SOME_IP:49274, sid=c455e2fc db55e4d4
2023-05-11 19:21:43 SOME_IP:49274 VERIFY OK: depth=1, CN=ChangeMe
2023-05-11 19:21:43 SOME_IP:49274 VERIFY OK: depth=0, CN=SOME_USER
2023-05-11 19:21:43 SOME_IP:49274 peer info: IV_VER=3.git::d3f8b18b
2023-05-11 19:21:43 SOME_IP:49274 peer info: IV_PLAT=win
2023-05-11 19:21:43 SOME_IP:49274 peer info: IV_NCP=2
2023-05-11 19:21:43 SOME_IP:49274 peer info: IV_TCPNL=1
2023-05-11 19:21:43 SOME_IP:49274 peer info: IV_PROTO=30
2023-05-11 19:21:43 SOME_IP:49274 peer info: IV_CIPHERS=AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305
2023-05-11 19:21:43 SOME_IP:49274 peer info: IV_GUI_VER=OCWindows_3.3.7-2979
2023-05-11 19:21:43 SOME_IP:49274 peer info: IV_SSO=webauth,openurl,crtext
2023-05-11 19:21:43 SOME_IP:49274 TLS Error: Auth Username/Password was not provided by peer
2023-05-11 19:21:43 SOME_IP:49274 TLS Error: TLS handshake failed
2023-05-11 19:21:43 SOME_IP:49274 SIGUSR1[soft,tls-error] received, client-instance restarting