Hi! Why don't you want to put a load balancer in front of your cluster? I believe you can even run all openvpn instnces on same server (or a pair of, just for redundancy). Nginx can balance openvpn clients just fine and limit amount of backend connections, haproxy can work if you don't need UDP traffic, LVS does not works as expected with UDP balancing. Keepalved can serve you with IP failover.
On Fri, Jan 8, 2021 at 2:00 PM 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. > > -- > 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 > -- Bogdan Rudas Director of IT Europe Exadel Inc. http://www.exadel.com/ E-mail: bru...@exadel.com Skype ID: bogdan.rudas -- CONFIDENTIALITY NOTICE: This email and files attached to it are confidential. If you are not the intended recipient you are hereby notified that using, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error please notify the sender and delete this email.
_______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users