Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: dependancies for OTP and Radius #73

Open
thecreativeone91 opened this issue Jun 11, 2024 · 1 comment
Open

Enhancement: dependancies for OTP and Radius #73

thecreativeone91 opened this issue Jun 11, 2024 · 1 comment

Comments

@thecreativeone91
Copy link

thecreativeone91 commented Jun 11, 2024

Can we get the dependancies for OTP and Radius to be able to support two factor authentication? both locally and using Radius.

https://docs.openconnect-vpn.net/recipes/ocserv-2fa/

OATH: One-time passwords with ocserv's password file

Since version 0.10.9 it is possible to use ocserv's password file for 2FA. It requires ocserv to be compiled with liboath

https://docs.openconnect-vpn.net/recipes/ocserv-authentication-radius-radcli/

radcli (or libradius-client) need to be installed before ocserv. If ocserv is compiled before radius libraries, it will build without >radius support. Even if radius libraries are compiled/installed afterwards, it will not work, and ocserv will return errors when you >try to start the service with RADIUS authentication enabled.

@aminvakil
Copy link
Owner

I'm not sure what should we do to add support for this, but I'd be happy to review if you'd whip up a PR about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants