Tunnel is OK, but internal probing system not
Posted: Mon Jan 08, 2024 1:47 pm
Dear community,
Looking at my logs I discovered openvpn server kept restarting every 60 sec, due to:
But the tunnel is OK. I can ping both ends from both sides and when I do that, openvpn is not restarting. When I do a common ping, I observe:
But if the network is not in use (inactivity), I can just see:
6 times, then a restart.
Of course, I have on my server:
I though internal probes were there to keep alive the connection and avoid restarting. Is there something I'm missing?
Looking at my logs I discovered openvpn server kept restarting every 60 sec, due to:
Code: Select all
Inactivity timeout (--ping-restart), restarting
Code: Select all
Mon Jan 8 13:41:43 2024 daemon.notice openvpn(server1)[3013]: TCPv4_SERVER WRITE [132] to [AF_INET]86.213.XXX.XXX:42752: DATA len=132
Mon Jan 8 13:41:43 2024 daemon.notice openvpn(server1)[3013]: TCPv4_SERVER READ [132] from [AF_INET]86.213.XXX.XXX:42752: DATA len=132
Code: Select all
TCPv4_SERVER WRITE [68] to [AF_INET]86.213.XXX.XXX:40696: DATA len=68
Of course, I have on my server:
Code: Select all
keepalive 10 60