From 48f8fa02c76e0fedad66dc6c9ebb7cd2e07bee09 Mon Sep 17 00:00:00 2001 From: "timeo.collado" Date: Mon, 7 Apr 2025 09:54:00 +0200 Subject: [PATCH] derniere modif --- sisr1/tp05-squid/squid.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sisr1/tp05-squid/squid.conf b/sisr1/tp05-squid/squid.conf index a0edc7f..a6e83c5 100644 --- a/sisr1/tp05-squid/squid.conf +++ b/sisr1/tp05-squid/squid.conf @@ -1340,7 +1340,8 @@ # acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines acl localnet src 172.16.0.0/24 #autorise le réseau interne à passer -acl mots_cles_refuses url_regex -i twitch twitch chatgpt +acl mots_cles_refuses url_regex -i twitch discord chatgpt youtube instagram snapchat +acl ip-restreintes src 172.16.0.5-172.16.0.99 acl SSL_ports port 443 @@ -1552,7 +1553,7 @@ include /etc/squid/conf.d/*.conf # Example rule allowing access from your local networks. # Adapt localnet in the ACL section to list your (internal) IP networks # from where browsing should be allowed -http_access deny mots_cles_refuses +http_access deny mots_cles_refuses ip-restreintes http_access allow localnet http_access allow localhost