Proxy

Changelog

  • ?: Init
  • 2023-12-28: Add feature comparison section.

Forward proxy, more specifically. The goal is to have the following setup:

Some other articles:

Comparisons

After bouncing off Authelia keyword in Google Search, this Reddit post on which authentication server to choose popped up. Main offerings are Authentik, Authelia, and Keycloak, at least for homelab usage (others specified in Authentik's comparison page suggest AD, Okta, and Duo as alternatives as well).

Provider Notes
Authentik See here. Runs on top of Django, with PostgreSQL and Redis backends. Seems to be a two-developer team as of 2023. Relatively frequently updated. Impressions from two years ago don't seem particularly positive with regard to security focus. Problem is the non-implementation of Single Log-off (SLO), which is actively worked on since 2022, but as of 2023 is still unresolved. Their integrations page look really helpful.
Authelia Consider looking at the scripts used in auto-authelia to simplify the setup process. Some Reddit user mentioned it has a simple config file setup for secrets, which is easier to manage. Currently stuck on v4.37.5 for about a year now, due to stalling development for multi-device support in v4.38.0, although there is a workaround.
Keycloak Seems to be quite resource-heavy? Under stewardship of Red Hat, and has security audits. Strange that it seems to have problems in the codebase, see below.

LDAP: https://www.zytrax.com/books/ldap/ch2/index.html#history

Authelia: https://www.authelia.com/configuration/first-factor/introduction/