Page 1 of 1

Dual authentication with OpenVPN

Posted: Mon Jun 25, 2018 12:39 pm
by gargi
Hi,

I am trying to configure OpenVPN to implement 2 factor authentication. First Factor will be LDAP Directory, Second Factor will be Safenet soft token using RADIUS

Tested both of them separately i.e Using Authentication methods LDAP & then using RADIUS, it worked.

Now trying to implement LDAP + RADIUS authentication. User should get authenticated via LDAP username and password, once successfull it should authenticate user against a soft token (a 6 digit pin which is generated via Safenet Mobile App(MobilePass+))

I am aware that we can use PostAuth Python scripts to achieve this (https://docs.openvpn.net/configuration/ ... th_scripts)

I hope this is a very common use case, Can you point to a URL or a sample script that will help achieve this.

Thanks

Re: Dual authentication with OpenVPN

Posted: Thu Aug 03, 2023 12:37 pm
by valentin
Hi Gargi,

did you solve this problem?