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!