disable and enable clients remotely on demand

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
giuseppem94
OpenVpn Newbie
Posts: 1
Joined: Thu Feb 01, 2024 7:30 am

disable and enable clients remotely on demand

Post by giuseppem94 » Thu Feb 01, 2024 7:39 am

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

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1333
Joined: Tue Feb 16, 2021 10:41 am

Re: disable and enable clients remotely on demand

Post by openvpn_inc » Mon Feb 05, 2024 5:12 pm

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
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply