Is it possible to set up 2FA on my self-hosted services?

Gutless2615@ttrpg.network to Selfhosted@lemmy.world – 58 points –

I have a suite of services exposed using a reverse proxy (npm) protected with passwords, but I'm always a bit nervous that username/passwords aren't enough -- is there a way to set up 2FA either on Nginx Proxy Manager side or on, e.g., the 'arr suite of apps?

27

You are viewing a single comment

You could look into apps like authelia, keycloak, authentic, etc.

authelia

Ah that sounds like exactly what I'm looking for, actually. Thanks. Any tutorial you have that you can recommend?

I usually recommend this one. There's a section for NPM you'll find useful.

Yeah, I think Ibracorp is great, found it useful in some detail questions Let me however recommend this link from Smart Home Beginner: I set up my server based on this one, with Authelia and Duo for 2FA

Yep! Authentik is my choice there, and it works flawlessly for my use-cases. The only thing that keeps me on my toes is still the celery dependency on redis that makes it not HA. They're working on it and making me happy :)

This is the way, look up techno Tim's "ssl everywhere" video to get traefik with wildcard ssl for Internet facing and local services then set up authentik and you will have a solid setup that will last for years with a solid foundation.

I have a Synology NAS (my humble server) would that work with it too??? For example the DSM page (which I don't have exposed).

Synology's DSM has built-in MFA support, though it also has some features for external identity management. I don't think Keycloak and so on would be compatible though.