From a8cb3b3442d1698f6476851b4e8839b0fb72aac6 Mon Sep 17 00:00:00 2001 From: Polaire Date: Sun, 16 Feb 2025 22:48:58 +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 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/04 - R%C3%A8gles IPTables.-.md b/04 - R%C3%A8gles IPTables.-.md index bdc0a48..06d95db 100644 --- a/04 - R%C3%A8gles IPTables.-.md +++ b/04 - R%C3%A8gles IPTables.-.md @@ -141,7 +141,7 @@ On s'assure également d'activé le service associé (httpd ou nginx), on peut ![](https://git.yh.genj.fr/polaire/IAUX060_Securite_des_reseaux_2/raw/branch/main/capture/iptable_nginx.png) -On peut tenter le wget sur Deb01 et constaté qu'il ne fonctionne pas +On peut tenter le wget sur Deb01 et constater qu'il ne fonctionne pas ![](https://git.yh.genj.fr/polaire/IAUX060_Securite_des_reseaux_2/raw/branch/main/capture/iptable_nginxNOK.png) @@ -151,9 +151,11 @@ On va donc ajouter notre règle : iptables -A OUTPUT -p tcp --dport 80 -j ACCEPT ``` -On peut retenter notre wget. On constate qu'il fonctionne sur Deb01 et Deb02. +On peut retenter notre wget. On constate qu'il fonctionne sur Deb01. + + +![](https://git.yh.genj.fr/polaire/IAUX060_Securite_des_reseaux_2/raw/branch/main/capture/DEB01_HTTP_OK.png) -SCREEN ## B3 - SSH