Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


How to add a password to a OpenVPN server?
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.

How to add a password to a OpenVPN server?

I've been looking for tutorials, but can only find one that explains it for the client, not the server.

Comments

  • NyrNyr Community Contributor, Veteran

    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

    Thanked by 2JustAMacUser Pwner
  • 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.

  • JustAMacUser said: 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).

Sign In or Register to comment.