From eae5b201b6404b3291ec1dff719bf2143f3fe77d Mon Sep 17 00:00:00 2001 From: IamTheFij Date: Thu, 6 Jul 2023 21:25:31 -0700 Subject: [PATCH] Add two factor for external IPs --- core/authelia.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/authelia.yml b/core/authelia.yml index e99c0f2..eb3cc86 100644 --- a/core/authelia.yml +++ b/core/authelia.yml @@ -154,7 +154,12 @@ access_control: rules: ## Rules applied to everyone - domain: '*.{{ with nomadVar "nomad/jobs" }}{{ .base_hostname }}{{ end }}' + networks: + - internal policy: one_factor + + - domain: '*.{{ with nomadVar "nomad/jobs" }}{{ .base_hostname }}{{ end }}' + policy: two_factor - domain: # TODO: Drive these from Nomad variables