logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 14-05-2018 09:22:41

squidprblm
Membre
Inscription : 14-05-2018

Squid ACL probleme

Bonjour j'ai un problème avec squid :

j'ai installer squid sur mon ordinateur j'ai instaler Webmin pour me faciliter la tâche mais pour le moment il est de aucun utiliter j'ai mis une authentification sur mon proxy quand je me une regle acl pour bloquer un site web j'ajouter la regle mais rien ny fait voici mon fichier de configuration :

acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
#
# Example rule allowing access from your local networks.
# Adapt to list your (internal) IP networks from where browsing
# should be allowed
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl SSL_ports port 563 # RFC1918 possible internal network
acl SSL_ports port 873 # RFC1918 possible internal network


acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wals
acl Safe_ports port 443 # https
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-gmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multilling http
acl Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE # multiling http
acl CONNECT method CONNECT #
acl utilisateurs proxy_auth REQUIRED
http_access allow utilisateurs 
acl SSL_ports port 443 # rsync
acl Safe_ports port 443 #
acl apache rep_header Server ^Apache
acl shoutcast rep_header X-HTTP09-First-Line ^ICY\s[0-9]
http_access allow CONNECT !SSL_ports
http_access allow localhost
http_access allow all


voici merci de votre aide smile

Hors ligne

Pied de page des forums