2

I am running multiple replicas of OpenVPN server (on a Kubernetes cluster) and have configured clients to reconnect should a server instance go down (with keepalive 10 60) which works fairly well.

However, I was wondering if there is a way to configure OpenVPN to trigger a client reconnect if a server shuts down on purpose (for example when performing a rolling update) to avoid the client hanging for 60 seconds.

dippynark
  • 252

1 Answers1

2

From the reference manual for OpenVPN 2.4:

–explicit-exit-notify [n]: In UDP server mode, send RESTART control channel command to connected clients.

dippynark
  • 252