-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable auto reconnecting #311
Comments
Related openvpn3-linux issue: https://codeberg.org/OpenVPN/openvpn3-linux/issues/6 |
After pondering a bit on this specific case and discussing it in the team, it's clear that this feature is not available in the OpenVPN 3 Core Library. Porting Your real issue is that you're connecting two devices containing the same client certificate. Which ends up in a re-connect game where client A which connected first gets kicked off when client B connects and then A reconnects, kicking off client B - in an endless loop. This reconnection behaviour is actually considered a feature in OpenVPN - and is the default behaviour in OpenVPN 2.x as well (without the The best solution for you is actually to not work around this, but to either issue different client certificates for each connecting device. Or to configure the server to use We have not concluded at the moment if a "disable reconnect" feature is really wanted in OpenVPN 3. |
Hi guy, thanks so much for a clean answer. This answer covered my case well. I know the Anyway, properly, I must choose another solution, such as creating more than one profile for users connecting to multiple devices at the same time. |
How openvpn client to disable auto reconnecting when another device connect with the same profile?
p/s: with openvpn version 2.x, I use the remap-usr1 optione to remap signal SIGUSR1 to SIGTERM and stop client reconnects.
The text was updated successfully, but these errors were encountered: