Spoilers pour VM

This commit is contained in:
Adrien Bourmault 2021-11-16 22:36:03 +00:00
parent 9aeb21349a
commit 1421c78eb8
9 changed files with 37 additions and 0 deletions

View File

@ -25,6 +25,7 @@ Adresse ipv6 publique : xxx
#### Configuration réseau #### Configuration réseau
##### /etc/network/interfaces ##### /etc/network/interfaces
<details>
# The primary network interface # The primary network interface
allow-hotplug enp1s0 allow-hotplug enp1s0
@ -32,6 +33,7 @@ Adresse ipv6 publique : xxx
iface enp1s0 inet6 static iface enp1s0 inet6 static
address 2001:910:1360::xxx/128 address 2001:910:1360::xxx/128
gateway 2001:910:1360:: gateway 2001:910:1360::
</details>
##### /etc/host.allow ##### /etc/host.allow

View File

@ -26,6 +26,7 @@ Adresse ipv6 publique : 2001:910:1360::11c
#### Configuration réseau #### Configuration réseau
##### /etc/network/interfaces ##### /etc/network/interfaces
<details>
# The primary network interface # The primary network interface
allow-hotplug enp1s0 allow-hotplug enp1s0
@ -33,6 +34,7 @@ Adresse ipv6 publique : 2001:910:1360::11c
iface enp1s0 inet6 static iface enp1s0 inet6 static
address 2001:910:1360::11c/128 address 2001:910:1360::11c/128
gateway 2001:910:1360:: gateway 2001:910:1360::
</details>
##### /etc/host.allow ##### /etc/host.allow

View File

@ -26,6 +26,7 @@ Adresse ipv6 publique : 2001:910:1360::1ab
#### Configuration réseau #### Configuration réseau
##### /etc/network/interfaces ##### /etc/network/interfaces
<details>
# The primary network interface # The primary network interface
allow-hotplug enp1s0 allow-hotplug enp1s0
@ -33,6 +34,7 @@ Adresse ipv6 publique : 2001:910:1360::1ab
iface enp1s0 inet6 static iface enp1s0 inet6 static
address 2001:910:1360::1ab/128 address 2001:910:1360::1ab/128
gateway 2001:910:1360:: gateway 2001:910:1360::
</details>
##### /etc/host.allow ##### /etc/host.allow
@ -55,6 +57,7 @@ Adresse ipv6 publique : 2001:910:1360::1ab
@gestion.a-lec.org admin@a-lec.org @gestion.a-lec.org admin@a-lec.org
### Configuration serveur web (nginx) ### Configuration serveur web (nginx)
<details>
server { server {
server_name coffre.a-lec.org; server_name coffre.a-lec.org;
@ -144,3 +147,4 @@ Adresse ipv6 publique : 2001:910:1360::1ab
server_name gestion.a-lec.org; server_name gestion.a-lec.org;
return 404; # managed by Certbot return 404; # managed by Certbot
} }
</details>

View File

@ -26,6 +26,7 @@ Adresse ipv6 publique : 2001:910:1360::42
#### Configuration réseau #### Configuration réseau
##### /etc/network/interfaces ##### /etc/network/interfaces
<details>
# The primary network interface # The primary network interface
allow-hotplug enp1s0 allow-hotplug enp1s0
@ -34,6 +35,8 @@ Adresse ipv6 publique : 2001:910:1360::42
address 2001:910:1360::42/128 address 2001:910:1360::42/128
gateway 2001:910:1360:: gateway 2001:910:1360::
</details>
##### /etc/host.allow ##### /etc/host.allow
sshd: 192.169.1.0/24, [2001:910:1360::]/48 sshd: 192.169.1.0/24, [2001:910:1360::]/48
@ -55,6 +58,7 @@ Adresse ipv6 publique : 2001:910:1360::42
@git.a-lec.org admin@a-lec.org @git.a-lec.org admin@a-lec.org
### Configuration serveur web (nginx) ### Configuration serveur web (nginx)
<details>
# GITLAB # GITLAB
@ -122,3 +126,5 @@ Adresse ipv6 publique : 2001:910:1360::42
proxy_pass http://gitlab-workhorse; proxy_pass http://gitlab-workhorse;
} }
} }
</details>

View File

@ -28,6 +28,7 @@ Adresse ipv6 publique : 2001:910:1360::148
#### Configuration réseau #### Configuration réseau
##### /etc/network/interfaces ##### /etc/network/interfaces
<details>
# The primary network interface # The primary network interface
allow-hotplug enp1s0 allow-hotplug enp1s0
@ -36,6 +37,8 @@ Adresse ipv6 publique : 2001:910:1360::148
address 2001:910:1360::148/128 address 2001:910:1360::148/128
gateway 2001:910:1360:: gateway 2001:910:1360::
</details>
##### /etc/host.allow ##### /etc/host.allow
sshd: 192.169.1.0/24, [2001:910:1360::]/48 sshd: 192.169.1.0/24, [2001:910:1360::]/48
@ -49,6 +52,7 @@ Adresse ipv6 publique : 2001:910:1360::148
*(à compléter)* *(à compléter)*
### Configuration serveur web (nginx) ### Configuration serveur web (nginx)
<details>
server { server {
set_real_ip_from 192.169.1.1; set_real_ip_from 192.169.1.1;
@ -95,3 +99,5 @@ Adresse ipv6 publique : 2001:910:1360::148
deny all; deny all;
} }
} }
</details>

View File

@ -37,6 +37,7 @@ Instance publique
#### Configuration réseau #### Configuration réseau
##### /etc/network/interfaces ##### /etc/network/interfaces
<details>
# The loopback network interface # The loopback network interface
auto lo auto lo
@ -49,6 +50,8 @@ Instance publique
address 2001:910:1360::16a/128 address 2001:910:1360::16a/128
gateway 2001:910:1360:: gateway 2001:910:1360::
</details>
##### /etc/host.allow ##### /etc/host.allow
sshd: 192.169.1.0/24, [2001:910:1360::]/48 sshd: 192.169.1.0/24, [2001:910:1360::]/48
@ -70,6 +73,7 @@ Instance publique
@toot.a-lec.org admin@a-lec.org @toot.a-lec.org admin@a-lec.org
### Configuration serveur web (nginx) ### Configuration serveur web (nginx)
<details>
map $http_upgrade $connection_upgrade { map $http_upgrade $connection_upgrade {
default upgrade; default upgrade;
@ -161,3 +165,4 @@ Instance publique
error_page 500 501 502 503 504 /500.html; error_page 500 501 502 503 504 /500.html;
} }
</details>

View File

@ -37,6 +37,7 @@ Instance publique
#### Configuration réseau #### Configuration réseau
##### /etc/network/interfaces ##### /etc/network/interfaces
<details>
# The loopback network interface # The loopback network interface
auto lo auto lo
@ -49,6 +50,8 @@ Instance publique
address 2001:910:1360::232/128 address 2001:910:1360::232/128
gateway 2001:910:1360:: gateway 2001:910:1360::
</details>
##### /etc/host.allow ##### /etc/host.allow
sshd: 192.169.1.0/24, [2001:910:1360::]/48 sshd: 192.169.1.0/24, [2001:910:1360::]/48

View File

@ -27,6 +27,7 @@ Adresse ipv6 publique : 2001:910:1360::1ca
#### Configuration réseau #### Configuration réseau
##### /etc/network/interfaces ##### /etc/network/interfaces
<details>
# The loopback network interface # The loopback network interface
auto lo auto lo
@ -39,6 +40,8 @@ Adresse ipv6 publique : 2001:910:1360::1ca
address 2001:910:1360::1ca/128 address 2001:910:1360::1ca/128
gateway 2001:910:1360:: gateway 2001:910:1360::
</details>
##### /etc/host.allow ##### /etc/host.allow
sshd: 192.169.1.0/24, [2001:910:1360::]/48 sshd: 192.169.1.0/24, [2001:910:1360::]/48
@ -60,6 +63,7 @@ Adresse ipv6 publique : 2001:910:1360::1ca
@www.a-lec.org admin@a-lec.org @www.a-lec.org admin@a-lec.org
### Configuration du serveur web (nginx) ### Configuration du serveur web (nginx)
<details>
server { server {
set_real_ip_from 192.169.1.1; set_real_ip_from 192.169.1.1;
@ -147,3 +151,5 @@ Adresse ipv6 publique : 2001:910:1360::1ca
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
} }
</details>

View File

@ -26,6 +26,7 @@ Adresse ipv6 publique : 2001:910:1360::142
#### Configuration réseau #### Configuration réseau
##### /etc/network/interfaces ##### /etc/network/interfaces
<details>
# The primary network interface # The primary network interface
allow-hotplug enp1s0 allow-hotplug enp1s0
@ -34,6 +35,8 @@ Adresse ipv6 publique : 2001:910:1360::142
address 2001:910:1360::142/128 address 2001:910:1360::142/128
gateway 2001:910:1360:: gateway 2001:910:1360::
</details>
##### /etc/hosts.allow ##### /etc/hosts.allow
sshd: 192.169.1.0/24, [2001:910:1360::]/48 sshd: 192.169.1.0/24, [2001:910:1360::]/48