Dual or two factor Authentication

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
dames
Posts: 6
Joined: Tue Mar 16, 2021 4:53 am

Dual or two factor Authentication

Post by dames » Wed Mar 17, 2021 12:09 am

Is it possible to require two of the authentication methods simultaneously?
I would like to require both a client certificate and a username/ password to authenticate.
i have explored and experimented, but I cannot see how to do this.

thank you in advance.

nobody12
Posts: 56
Joined: Sat Feb 13, 2021 10:22 pm

Re: Dual or two factor Authentication

Post by nobody12 » Wed Mar 17, 2021 3:28 pm

You could setup authentication through radius with motp.
I made a test and did setup motp with sucess. (motp requires a password/pin of the user plus a generated otp by an motp password generator (usb stick/mobile phone) which is tied to the time plus an initial seed). For me this is a two factor authentication.
But this is not certificate plus username/password.

dames
Posts: 6
Joined: Tue Mar 16, 2021 4:53 am

Re: Dual or two factor Authentication

Post by dames » Wed Mar 17, 2021 5:34 pm

Thank you
that sounds like an excellent solution, however I am unfamiliar with motp.
I'll look into it as a possible solution.

nobody12
Posts: 56
Joined: Sat Feb 13, 2021 10:22 pm

Re: Dual or two factor Authentication

Post by nobody12 » Wed Mar 17, 2021 5:49 pm

There is an old but working and easy to install solution for this (which I used):
https://github.com/MOTP-AS/MOTP-AS/blob/master/INSTALL
motp.JPG
followup: The code for this is based on an "old" php version. If you want to run this on newer PHP without manually patching the code, there is an adapter availiable as a php include:
https://github.com/rubo77/php-mysql-fix ... ql.inc.php
motp generators an information about motp:
http://motp.sourceforge.net/
You do not have the required permissions to view the files attached to this post.

dames
Posts: 6
Joined: Tue Mar 16, 2021 4:53 am

Re: Dual or two factor Authentication

Post by dames » Fri Mar 26, 2021 1:44 am

thank you very much. i'll check this out.

Post Reply