New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
How to add a password to a OpenVPN server?
serverhunter_old
Member
in Help
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).