Environment
OpenVPN
Onomondo Core Network
Question
Does Onomondo's VPN server have a pre-set connection timeout?
I connect using OpenVPN and I see a disconnect exactly every hour. Is that a timeout configured on your VPN server?
Answer
There is no server-enforced timeout. However, OpenVPN performs a soft reset and generates new encryption keys once every 60 minutes.
In principle, re-keying should not cause any disconnections. Problems can appear when the client can’t authenticate again during the renegotiation. Credential-based authentication can fail in noninteractive environments (e.g. Docker).
Cause
OpenVPN uses TLS (Transport Layer Security) to encrypt control and data channels between your client and the VPN server. For security, OpenVPN doesn’t reuse the same encryption keys indefinitely — it performs periodic re-keying, usually every 3600 seconds (1 hour) by default.