disable auto-reconnect

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
cameron.epp
OpenVpn Newbie
Posts: 3
Joined: Thu Oct 12, 2023 2:28 pm

disable auto-reconnect

Post by cameron.epp » Thu Oct 12, 2023 2:34 pm

When my mac wakes up after sleeping, the OpenVPN client automatically tries to reconnect to the VPN. However, it fails because we are using TOTP MFA (the TOTP gets appended to the password with a comma: password,totp).
How can I prevent the client from automatically trying to reconnect after disconnection/sleep/interruption?

I found a lot of old suggestions on the internets for adding options to the .ovpn file, but the new client doesn't support many of the suggestions so I'm looking for something that works with the new version of OpenVPN connect.

Thank you!

Post Reply