I want to require users to give a username password pair before connecting to the VPN server. That is two factor authentication: the user must have a certificate and must know the password.
I am following the instructions in
https://openvpn.net/index.php/open-source/documentation/howto.html#auth and also a response in one of the forums to try
plugin /usr/lib/openvpn/openvpn-auth-pam.so "login login USERNAME password PASSWORD"
However, when I start the client, it doesn't prompt for a username or a password. I think the server is working because it stops the connection. I can see that in the routing table on the client.
What am I doing wrong, please?
Jeff Silverman