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 could look into apps like authelia, keycloak, authentic, etc.
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.
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.
authelia
Ah that sounds like exactly what I’m looking for, actually. Thanks. Any tutorial you have that you can recommend?
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.
linuxserver.io have a templates for Authelia and Authentik on nginx
Incredible. Thanks that makes this all much easier.
Some systems support MFA eg vaultwarden. For that I use the built in MFA with Yubikeys.
For things that are not MFA supported but I need them to be open I put them behind Authelia and Nginx Proxy Manager.
Authelia config makes sense now. It was confusing at first however the custom config required on NPM still confuses me.
Anything else stays off the internet and I can access via vpn back into my LAN.
If you’re comfortable with using Cloudflare, you can use their zero trust tunneling and setup an application layer that adds auth to those services. I have mine protected by my GitHub login.
Oh interesting. I’m using zero trust tunneling already to get through my ISP network chicanery. How would that work? Do yo uhave any tutorials you can recommend?
Not sure if it fits your requirements exactly but I just put a service behind TwinGate and it works well for my usage case. I can allow my wife secure access to services she needs to access from anywhere securely - she just opens the app to connect and she can access what she needs.
It is! I know that Mastodon and Lemmy support it. I cannot speak for any of the others though.