On 06/11/2020 11:28, Vertigo Altair wrote: > Hi OpenVPN Community, > > I want to make 2FA with my external program. The users gets OTP with > Google Authenticator. > My external program would validate username/password firstly, and after > that, it would validate the OTP. > > On the server configuration, I added the > 'static-challenge "Enter Google Authenticator Token" /my_external_script' > > line, and on the Client configuration, I added > > 'static-challenge "Enter Google Authenticator Token" 1' > > line. But I cannot make it work.. > Is there any way to get user's entered OTP to my external program via env? >
The --static-challenge is not a server side option. Eric F. Crist has been kind enough to write a blog post about OpenVPN and Multi-Factor-Authentication ... this might get you going quicker: <https://openvpn.net/multi-factor-authentication-with-openvpn-community-edition/> -- kind regards, David Sommerseth OpenVPN Inc
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users