Add two factor for external IPs

This commit is contained in:
IamTheFij 2023-07-06 21:25:31 -07:00
parent 532d7f9a4c
commit eae5b201b6
1 changed files with 5 additions and 0 deletions

View File

@ -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