Re: Limit the number of users based on the key

Peter Davis via Openvpn-users <[email protected]>
Newsgroups gmane.network.openvpn.user
Message-ID <FR_jELmAcFTxfrMGTNuQw2D7xtYyJQLmml2kC2RwmW5v3Va8RlNxPZnR6eIbudBddRWmrj9dIIPMReoBg0PS9vLxsyuejvxZLM7hSEKm-M8=@proton.me>
>On Tuesday, January 9th, 2024 at 2:02 PM, Gert Doering <[email protected]> wrote:


> Hi,
> 
> On Tue, Jan 09, 2024 at 10:25:13AM +0000, Peter Davis wrote:
> 
> > 1- Assuming that a user shares his\her username and password with
> > others in addition to the keys, then using --auth-user-pass, can
> > two users with the same username and password connect to the server
> > at the same time?
> 
> 
> No, because OpenVPN will not (unless told otherwise) permit two logins
> with the same client key+cert at the same time.
> 
> > 2- One server for all departments.
> 
> 
> For one server there can only be one server key, so the question "one key per
> department" becomes moot.
> 
> 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]

Hi,
1- So, by using --auth-user-pass I can prevent excessive access to the server.

2- I want each department to have its own key, because if I want to revoke the key of one department, then there will be no problem for other departments. Is this a good idea?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.