openvpn icon indicating copy to clipboard operation
openvpn copied to clipboard

OpenVPN client tries to reconnect infinite times when connection is dropped locking out user accounts

Open techsupportking opened this issue 2 years ago • 1 comments

I have tried ;auto_connect no and connect-retry-max 1

But there is no way to stop this behavior. If the client loses connectivity while the user is away, it tries endlessly to reconnect locking user accounts out.

techsupportking avatar Dec 21 '23 18:12 techsupportking

I'm not sure connect-retry-max applies to AUTH_FAIL failures - it's mostly intended for timeouts etc. - retrying on auth failure is controlled with auth-retry (and the default setting is none, so no reconnect on auth fail, and no locked out users).

cron2 avatar Dec 21 '23 18:12 cron2