Hi,

On Sun, Dec 31, 2023 at 05:43:52PM +0000, Peter Davis via Openvpn-users wrote:
> How can I limit the number of users based on a key? For example, only 10 
> users can use a key at the same time.

No way to do that inside openvpn.  You need to do something in --client-connect
script (or plugin) to do that counting, or talking to the management API.

Generally speaking, letting multiple users use the same key is not a very
good idea, though...

gert

-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             g...@greenie.muc.de

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to