On Fri, Jan 8, 2021, 13:01 Ralf Hildebrandt <ralf.hildebra...@charite.de>
wrote:

> We have a flock of openvpn Servers. We're using DNS round robin (
> openvpn.charite.de).
>
> Currentlym we have
> 421 clients on machine 0
> 465 clients on machine 1
> 598 clients on machine 2
> 246 clients on machine 3
>
> How can I change my auth-user-pass-verify / client-connect or
> learn-address scripts to prevent MORE clients on machine 2?
>
> I could return AUTH_FAILED, but that would irritate the users, since
> their clients would ask for a (new) password.
>
Perhaps too simple for what you need but why not use a hard limit with
max-clients directive?

>
> --
> Ralf Hildebrandt
> Charité - Universitätsmedizin Berlin
> Geschäftsbereich IT | Abteilung Netzwerk
>
> Campus Benjamin Franklin (CBF)
> Haus I | 1. OG | Raum 105
> Hindenburgdamm 30 | D-12203 Berlin
>
> Tel. +49 30 450 570 155
> ralf.hildebra...@charite.de
> https://www.charite.de
>
>
> _______________________________________________
> Openvpn-users mailing list
> Openvpn-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openvpn-users
>
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to