New on LowEndTalk? Please Register and read our Community Rules.
How to add a password to a OpenVPN server?

in Help
I've been looking for tutorials, but can only find one that explains it for the client, not the server.
It looks like you're new here. If you want to get involved, click one of these buttons!
I've been looking for tutorials, but can only find one that explains it for the client, not the server.
Comments
A password for what? For client authentication? Anyway, you could stop opening threads for each option you want and reading a bit instead:
https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
You should read through the docs, it has all this detailed. You want the
auth-user-pass-verify
option, but you'll need a script of some sort on the server to check what the client provides. Some distros provide sample scripts in /usr/share/docs.And/or load a pam/OVPN module (like Authy, Gauth) that uses it for something - else you can also use a PAM module to use linux users for OVPN auth (this was actually pretty common some years ago still).