This is tuto1 done

This commit is contained in:
nemunaire 2021-02-20 19:13:21 +01:00
parent 06679df021
commit cc7e738932
2 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,5 @@
init:
- nemunaire/challenge:a1a09ca7ae1473fc5e1c22ea8e5f2b50cd9206ed
- nemunaire/challenge:aeaf6be5e366eca943d8d37e8fb0f39d149a42cf
files:
- path: etc/motd
@ -64,6 +64,7 @@ files:
#
# See ntpd.conf(5) and /etc/examples/ntpd.conf
# Pro tip: Change pool.ntp.org to a raw IP if you don't have access to a nameserver yet
servers pool.ntp.org
sensor *
mode: "0644"

View File

@ -149,7 +149,7 @@ services:
command: ["/bin/arp-spoofer", "-iface=br-ext", "-ip-spoof=172.17.0.15"]
- name: login-validator
image: nemunaire/adlin-login-validator:5e8ae6a40d2764d66a0e65f7ebd68961729f3a90
image: nemunaire/adlin-login-validator:5e8ae6a40d2764d66a0e65f7ebd68961729f3a90-dirty
# command: ["/bin/login-validator", "-bind=:8081", "-auth=ldap", "-ldaphost=auth.cri.epita.net", "-ldapport=636", "-ldaptls", "-ldapbase=dc=epita,dc=net"]
# command: ["/bin/login-validator", "-bind=:8081", "-auth=krb5", "-krb5realm=CRI.EPITA.FR"]
command: ["/bin/login-validator", "-bind=:8081", "-auth=fwd", "-fwduri=https://adlin.nemunai.re/auth"]
@ -380,7 +380,7 @@ files:
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
[0:0] -A POSTROUTING -o br-ext ! -d 172.23.0.0/16 -j MASQUERADE
[0:0] -A POSTROUTING -o br-ext ! -d 172.23.0.0/12 -j MASQUERADE
COMMIT
*filter
:INPUT DROP [0:0]