filtrage discriminant2

This commit is contained in:
charlie.alves 2025-04-07 09:50:42 +02:00
parent e2fe18b586
commit bc35c3c2d8

View File

@ -1355,6 +1355,8 @@ acl Safe_ports port 777 # multiling http
acl mots_cles_refuses url_regex i twitch
acl mots_cles_refuses url_regex i chatgpt
acl motsinterdis url_regex i youtube discord twitch
acl ip_restreintes src 172.16.0.5-172.16.0.99
# TAG: proxy_protocol_access
# Determine which client proxies can be trusted to provide correct
@ -1374,7 +1376,7 @@ acl mots_cles_refuses url_regex i chatgpt
#
# An allow match is required for Squid to permit the corresponding
# TCP connection, before Squid even looks for HTTP request headers.
# If there is an allow match, Squid starts using PROXY header information
# If there is an allow match, Squid starts using PROXY header in
# to determine the source address of the connection for all future ACL
# checks, logging, etc.
#
@ -1556,14 +1558,10 @@ include /etc/squid/conf.d/*.conf
# http_access deny mots_cles_refuses
# http_access allow localnet
# http_access allow localhost
acl motsinterdis url_regex i youtube discord twitch
acl ip_restreintes src 172.16.0.5-172.16.0.99
http_access deny ip_restreintes motsinterdis
http_access allow localnet
http_access deny all
# And finally deny all other access to this proxy
http_access deny all
# TAG: adapted_http_access
# Allowing or Denying access based on defined access lists