From 195e1fb38ee37be53c87126b3d600a2a67d55234 Mon Sep 17 00:00:00 2001 From: Polaire Date: Sun, 9 Feb 2025 19:24:25 +0100 Subject: [PATCH] =?UTF-8?q?Actualiser=2004=20-=20R=C3=A8gles=20IPTables?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 04 - R%C3%A8gles IPTables.-.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/04 - R%C3%A8gles IPTables.-.md b/04 - R%C3%A8gles IPTables.-.md index a1034a7..0c00a23 100644 --- a/04 - R%C3%A8gles IPTables.-.md +++ b/04 - R%C3%A8gles IPTables.-.md @@ -137,9 +137,15 @@ getenforce ### Et si la sortie est "Enforcing" setenforce 0 ``` -On s'assure également d'activé le service associé (httpd ou nginx), on peut également utiliser "curl" sur Cos01 pour s'assurer qu'on a un site qui répond. +On s'assure également d'activé le service associé (httpd ou nginx), on peut également utiliser "wget" sur Cos01 pour s'assurer qu'on a un site qui répond. -SCREEN NGINX activé +SCREEN NGINX activé + wget LCOALHOST + +On peut tenter le wget sur Deb01 et constaté qu'il ne fonctionne pas + +SCREEN wget NOK DEB01 + +On va donc ajouter nos règles :