OpenVPN does restart after resume from sleep. However, it does not detect a resume from modern standby. When standby takes long enough for the remote end to close connection, it takes about a minute after resume before OpenVPN detects no traffic and restarts the tunnel.
This situation could be improved using RegisterSuspendResumeNotification and monitor for PBT_APMRESUMEAUTOMATIC messages and doing a SIGUSR1 when standby was long enough.
OpenVPN does restart after resume from sleep. However, it does not detect a resume from modern standby. When standby takes long enough for the remote end to close connection, it takes about a minute after resume before OpenVPN detects no traffic and restarts the tunnel.
This situation could be improved using `RegisterSuspendResumeNotification` and monitor for `PBT_APMRESUMEAUTOMATIC` messages and doing a `SIGUSR1` when standby was long enough.