Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 14/05/2018, à 09:07

squidprblm

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

Dernière modification par Ayral (Le 14/05/2018, à 10:07)

Hors ligne

#2 Le 14/05/2018, à 15:51

remi82

Re : Squid ACL probleme

Bonjour,

Je ne sais pas trop d'où vient ton souci. Mais regarde ce lien. C'est grace à ce site que j'ai pu en parti mettre squid.
http://irp.nain-t.net/doku.php/220squid:start

Hors ligne