authelia 설치하기
설치 배경
- printunl-zero 라이센스 이슈로 새로 찾은 Indentity Aware Proxy
github 사이트
- https://github.com/authelia/authelia
- https://github.com/ViRb3/authelia-basic-2fa
authelia
- web은 react(typescript)로 구성되어 있는듯 하다.
- 내부 동작은 go로 되어있다.
- ruby도 보이는데 어디에 쓰는지 모르겠다.
필요한 부분
- 2FA 인증 연동
- LDAP 연동
- IP제한
- 계정별 role 권한
- 어플라이언스 admin 별도 DNS 부여 필요
- 추후 소스코드 수정 이후 docker로 다시 묶기
샘플 실행하기
- git clone https://github.com/authelia/authelia.git
- cd authelia/examples/compose/local
- git checkout $(git describe –tags
git rev-list --tags --max-count=1
) - ./setup.sh sudo is required to modify the /etc/hosts file, the user will be prompted for access if not run as root
configuration.yml
LDAP연동 등 대부분의 설정은 여기에서 수정하면 config가 가능하다.
사전학습
nginx
location
go
flag
suite test
테스트를 위한 가상환경? 디버그모드인가?