From cc7e7389321bcedad0634f75dbebbf5ef415b9c2 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Sat, 20 Feb 2021 19:13:21 +0100 Subject: [PATCH] This is tuto1 done --- challenge.yml | 3 ++- server.yml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/challenge.yml b/challenge.yml index 6d288a9..5bd5a46 100644 --- a/challenge.yml +++ b/challenge.yml @@ -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" diff --git a/server.yml b/server.yml index 722d211..5451eb0 100644 --- a/server.yml +++ b/server.yml @@ -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]