Hacker News new | ask | show | jobs
by arty587 2398 days ago
Yes thanks thats a good idea, I was also wondering how OpenVPN behaves with different connections, if it can handle multiple users simultaneously or not
2 comments

More specifically, if I have to manually generate keys for each user or if there is a way to automatically generate them
To maybe better answer this question, I've found this for example: https://gist.github.com/hcooper/814247
OpenVPN has the duplicate-cn option available, two connections with the same common name are then allowed.
I see, thay may prove helpful but it doesnt really answer my question, can you be more explicit about your answer ?
You could generate a certificate for each user, but without the duplicate-cn option a user is only allowed 1 connection to the same server. You can also use username/password authentication instead of certificates, also in this case you'll need to set the duplicate-cn option to allow multiple connections from the same user to the same server, because in this case you use the option username-as-common-name and the CN (common name) will then be the username.
Thanks for the tips, I'll see what I can do. Good luck
To answer this question: yes, OpenVPN can handle multiple users/connections simultaneously.