Mise en place d'un filtrage discriminant

This commit is contained in:
jeremy.thomas 2025-04-07 09:38:30 +02:00
parent 103c03175c
commit 49e9a22250

View File

@ -1352,11 +1352,14 @@ acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
# IP interdites:
acl ip_restreintes src 172.16.0.5-172.16.0.99
# Ban des mots clés:
acl mot_interdis url_regex -i chatgpt twitch
acl mots_interdis url_regex -i youtube discord twitch facebook instagram snapchat chatgpt
# Ban des liens:
acl site_bloque dstdomain .youtube.com .facebook.com .chatgpt.com .twitch.tv
# acl sites_bloque dstdomain .youtube.com .facebook.com .chatgpt.com .twitch.tv
# TAG: proxy_protocol_access
# Determine which client proxies can be trusted to provide correct
@ -1555,8 +1558,8 @@ 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 mot_interdis
http_access deny site_bloque
http_access deny ip_restreintes mots_interdis
# http_access deny sites_bloque
http_access allow localnet
http_access allow localhost