Open gruz123 opened 2 years ago
Hi @gruz123! This is currently not possible. Why do you want to use password protection?
The default protection using SSL certificates and private key cryptography is more secure than passwords. Each user has a separate .ovpn
config file which includes a (user-specific) private key, an SSL certificate and a shared secret. If you give each users their separate .ovpn
config file, there is no need for additional protection using passwords.
Hi @gruz123! This is currently not possible. Why do you want to use password protection?
The default protection using SSL certificates and private key cryptography is more secure than passwords. Each user has a separate
.ovpn
config file which includes a (user-specific) private key, an SSL certificate and a shared secret. If you give each users their separate.ovpn
config file, there is no need for additional protection using passwords.
in my case it's very important. Some pc use several diferent .ovpn config for several servers, also incase if someone get access to pc, it get access to network.
I think the best way to solve this issue is to implement PAM or LDAP authentication. I currently don't have time to implement this, but I'll put it on the wishlist.
For reference, if anyone wants to implement this: https://openvpn.net/community-resources/using-alternative-authentication-methods/
Hi, it's greate! thanks! How can assing password protection?