Is it possible to set up 2FA on my self-hosted services?
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?
You are viewing a single comment
You could look into apps like authelia, keycloak, authentic, etc.
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.
Dope, thanks
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 :)
HA?
Highly available. For example, being able to run multiple instances of it and if one server goes down the other picks up slack.
HighAvailability
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.
Yeah you are right, they already support 2FA.
I use keycloak for all by services that dont have any 2FA, I use an oauth proxy to front the service