OpenVPN / openvpn

OpenVPN is an open source VPN daemon
http://openvpn.net
Other
10.26k stars 2.92k forks source link

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

Open techsupportking opened 6 months ago

techsupportking commented 6 months ago

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.

cron2 commented 6 months ago

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).