Dual authentication with OpenVPN

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
gargi
OpenVpn Newbie
Posts: 1
Joined: Mon Jun 25, 2018 7:45 am

Dual authentication with OpenVPN

Post by gargi » Mon Jun 25, 2018 12:39 pm

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

valentin
OpenVpn Newbie
Posts: 1
Joined: Thu Aug 03, 2023 12:35 pm

Re: Dual authentication with OpenVPN

Post by valentin » Thu Aug 03, 2023 12:37 pm

Hi Gargi,

did you solve this problem?

Post Reply