Re: Limit the number of users based on the key
Gert Doering <[email protected]>
| Newsgroups | gmane.network.openvpn.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
On Thu, Jan 11, 2024 at 07:35:13PM +0000, Peter Davis wrote:
> > Abandon that thought. We've been here before: you need unique keys per
> > user, everything else will just make your life painful and miserable.
>
> If each user has their own key, then there should be a Client.conf file for each user, which itself contains a unique IP address, a unique port and a unique TUN. For example, for 100 users, there are 100 configuration files, 100 IP addresses, 100 open ports and 100 TUNs.
OpenVPN Server is point-to-multipoint, so a single server can easily
handle 1000s of clients.
You need a unique key+cert per client, which form a unique client config
(everything *not* key/cert related stays the same, though). Nothing else
needs to be maintained per-client, the server will do that all for you.
With a single TUN.
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 [email protected]
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users
signature.asc
(application/pgp-signature, 630 B)
-----BEGIN PGP SIGNATURE----- iQGcBAEBAgAGBQJlonp5AAoJEB2Cnv7KVigSB3cL/ia/XHTiUXlsqwXZO0H4dvB1 UE5Yb+jrR3EnhbzGt0pQdyG6UCdKO+N4MII+9kKC8gCuuy1oyGylxdKmEu+E855t xBD9c10sJK4QxOk2oHw+zNxiqkbRf6lQctqwqRQaZAc/8b6aM/Ojj6rMc5gzjGSW X5j7x5eX4YI9xiuele3JapVZ2rTjGNKRKI/qTq+UJCYlb2PcTNGey1mBX1QQO4Cg /1TMSEAMuhV8O7lSEV5irYHmtsBpMwWy2lVCBA0+eZa68nbCcDmNiJ4Aw+HkAll9 bvhEYBG2iPBxuFYy5Pcp2W1ghPwolIuT9QSueeuRiBZ+4GZD92vEIDmSLwjI9F0s hvwDQ3l/x8R7ebXOvuX7PQITfVVspj6DS0ef8AR38dC9cCD5ITbGeNVFPpK2Uqck J1/Nk7qUXBgtvymHtNrl2VBsTSyWWFcTeiiIgBrPxrqh0+ZLN1QgBzRNXzbHj1JX VMgbplHKCBNIww/ZP2yPN4DMZ6H38joz79s6Vz2RYg== =0djn -----END PGP SIGNATURE-----