oshkosh
Was just wondering if there's any way to use a key token with OpenVPN? I was googling it but all I'd find is USB tokens which I don't want. I'm referring to the ones that you press a button on the little dongle and it shows a 6 digit code that you have to type in with your password to authenticate to the server? Is there any way to do that that's not super complex?
janjust
there's no built-in support in OpenVPN for this but it's possible to do this using a 'auth-user-pass' script on both client and server side. On the client side you'd generate a password with the usb token (e.g. yubikey) and on the server side you'd process this using a 'auth-user-pass-verify' script. See the manual page for details on this.
I'd recommend playing with an 'auth-user-pass-verify' script using a plain password file first, before attempting to use usb key tokens.
HTH,
JJK
vamp_89
I'am facing the same problem now....any advice or help can anyone offer me????