this post was submitted on 25 Jul 2023
60 points (96.9% liked)

Selfhosted

40187 readers
687 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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's thread
view the rest of the comments
[–] [email protected] 27 points 1 year ago (4 children)

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

[–] [email protected] 11 points 1 year ago (1 children)

authelia

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

[–] [email protected] 10 points 1 year ago (2 children)

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

[–] [email protected] 5 points 1 year ago
[–] [email protected] 3 points 1 year ago

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

[–] [email protected] 6 points 1 year ago (2 children)

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 :)

[–] [email protected] 4 points 1 year ago (2 children)
[–] [email protected] 3 points 1 year ago

Highly available. For example, being able to run multiple instances of it and if one server goes down the other picks up slack.

[–] [email protected] 2 points 1 year ago

HighAvailability

[–] [email protected] 4 points 1 year ago

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.

[–] [email protected] 2 points 1 year ago

I use keycloak for all by services that dont have any 2FA, I use an oauth proxy to front the service

[–] kratoz29 2 points 1 year ago (1 children)

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).

[–] [email protected] 2 points 1 year ago (1 children)

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.

[–] kratoz29 1 points 1 year ago

Yeah you are right, they already support 2FA.