Page 1 of 1

disable and enable clients remotely on demand

Posted: Thu Feb 01, 2024 7:39 am
by giuseppem94
Hi,I'm new in this field.
I have 20 remote clients, all connected h24 to the internet, I need to establish a VPN connection but only to one device at a time. So theoretically I can use the free plan of openvpn access server that allows up to 2 simultaneous connections.

Practically, how I can disconnect and reconnect the remaining 19 client from the VPN server "on demand"?

Thanks

Re: disable and enable clients remotely on demand

Posted: Mon Feb 05, 2024 5:12 pm
by openvpn_inc
Hello guiseppem94,

That is not a common use-case and not something we planned for or documented. If you like you can connect each device one at a time, as needed.

If you want to automate this, you could perhaps script blocking/revoking access for specific users, and script the client-side to automatically retry (perhaps with some back-off method to avoid creating crazy amount of retries). But this custom hack is firmly in the area of "not supported" at this time. Good luck.

Kind regards,
Johan