From 293196c70484943547e68a44687e383198eea391 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Tue, 16 Nov 2021 18:32:55 +0000 Subject: [PATCH] =?UTF-8?q?Acc=C3=A8s=20SSH=20aux=20VM=20interne=20uniquem?= =?UTF-8?q?ent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Machines virtuelles/dns.md | 7 +++++++ Machines virtuelles/gestion.md | 8 ++++++++ Machines virtuelles/git.md | 8 ++++++++ Machines virtuelles/mail.md | 8 ++++++++ Machines virtuelles/toot.md | 8 ++++++++ Machines virtuelles/www.md | 8 ++++++++ Machines virtuelles/xmpp.md | 8 ++++++++ 7 files changed, 55 insertions(+) diff --git a/Machines virtuelles/dns.md b/Machines virtuelles/dns.md index 6ab38b4..f392b7b 100644 --- a/Machines virtuelles/dns.md +++ b/Machines virtuelles/dns.md @@ -34,3 +34,10 @@ Adresse ipv6 publique : 2001:910:1360:1:5054:ff:fec1:d069 address 2001:910:1360::11c/128 gateway 2001:910:1360:: +##### /etc/host.allow + + sshd: 192.169.1.0/24, [2001:910:1360::]/48 + +##### /etc/host/deny + + sshd: ALL diff --git a/Machines virtuelles/gestion.md b/Machines virtuelles/gestion.md index 1a243ad..e4df690 100644 --- a/Machines virtuelles/gestion.md +++ b/Machines virtuelles/gestion.md @@ -37,3 +37,11 @@ Adresse ipv6 publique : 2001:910:1360:1:5054:ff:fec8:83ec iface enp1s0 inet6 static address 2001:910:1360::1ab/128 gateway 2001:910:1360:: + +##### /etc/host.allow + + sshd: 192.169.1.0/24, [2001:910:1360::]/48 + +##### /etc/host/deny + + sshd: ALL diff --git a/Machines virtuelles/git.md b/Machines virtuelles/git.md index 6aa5b97..74b1d61 100644 --- a/Machines virtuelles/git.md +++ b/Machines virtuelles/git.md @@ -37,3 +37,11 @@ Adresse ipv6 publique : 2001:910:1360:1:5054:ff:fefd:631c iface enp1s0 inet6 static address 2001:910:1360::42/128 gateway 2001:910:1360:: + +##### /etc/host.allow + + sshd: 192.169.1.0/24, [2001:910:1360::]/48 + +##### /etc/host/deny + + sshd: ALL diff --git a/Machines virtuelles/mail.md b/Machines virtuelles/mail.md index b213d7e..c0fdf1d 100644 --- a/Machines virtuelles/mail.md +++ b/Machines virtuelles/mail.md @@ -39,3 +39,11 @@ Adresse ipv6 publique : 2001:910:1360:1:5054:ff:fe12:bccf iface enp1s0 inet6 static address 2001:910:1360::148/128 gateway 2001:910:1360:: + +##### /etc/host.allow + + sshd: 192.169.1.0/24, [2001:910:1360::]/48 + +##### /etc/host/deny + + sshd: ALL diff --git a/Machines virtuelles/toot.md b/Machines virtuelles/toot.md index e8fbb1e..0d274b0 100644 --- a/Machines virtuelles/toot.md +++ b/Machines virtuelles/toot.md @@ -48,3 +48,11 @@ Instance publique iface enp1s0 inet6 static address 2001:910:1360::16a/128 gateway 2001:910:1360:: + +##### /etc/host.allow + + sshd: 192.169.1.0/24, [2001:910:1360::]/48 + +##### /etc/host/deny + + sshd: ALL diff --git a/Machines virtuelles/www.md b/Machines virtuelles/www.md index 2262bc9..66361dd 100644 --- a/Machines virtuelles/www.md +++ b/Machines virtuelles/www.md @@ -38,3 +38,11 @@ Adresse ipv6 publique : 2001:910:1360:1:5054:ff:fe07:f13c iface enp1s0 inet6 static address 2001:910:1360::1ca/128 gateway 2001:910:1360:: + +##### /etc/host.allow + + sshd: 192.169.1.0/24, [2001:910:1360::]/48 + +##### /etc/host/deny + + sshd: ALL diff --git a/Machines virtuelles/xmpp.md b/Machines virtuelles/xmpp.md index 6a38ad5..3111842 100644 --- a/Machines virtuelles/xmpp.md +++ b/Machines virtuelles/xmpp.md @@ -37,3 +37,11 @@ Adresse ipv6 publique : 2001:910:1360:1:5054:ff:fe0b:a6ed iface enp1s0 inet6 static address 2001:910:1360::142/128 gateway 2001:910:1360:: + +##### /etc/hosts.allow + + sshd: 192.169.1.0/24, [2001:910:1360::]/48 + +##### /etc/hosts.deny + + sshd: ALL