Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # SQUID erforderliche Minimalkonfiguration
- 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.
- acl localnet src 192.168.10.0/24 # RFC1918 possible internal network
- # lokale Rechner freigegeben
- acl lokale_rechner src 192.168.10.0/255.255.255.0
- http_access allow lokale_rechner
- acl SSL_ports port 443 # https
- acl SSL_ports port 563 # snews
- acl SSL_ports port 873 # rsync
- acl Safe_ports port 80 # http
- acl Safe_ports port 21 # ftp
- acl Safe_ports port 443 # https
- acl Safe_ports port 70 # gopher
- acl Safe_ports port 210 # wais
- acl Safe_ports port 1025-65535 # unregistered ports
- acl Safe_ports port 280 # http-mgmt
- acl Safe_ports port 488 # gss-http
- acl Safe_ports port 591 # filemaker
- acl Safe_ports port 777 # multiling http
- acl Safe_ports port 631 # cups
- acl Safe_ports port 873 # rsync
- acl Safe_ports port 901 # SWAT
- acl purge method PURGE
- acl CONNECT method CONNECT
- http_access allow manager localhost
- http_access deny manager
- # Only allow purge requests from localhost
- http_access allow purge localhost
- http_access deny purge
- # Deny requests to unknown ports
- http_access deny !Safe_ports
- # Deny CONNECT to other than SSL ports
- http_access deny CONNECT !SSL_ports
- http_access deny all
- #Allow ICP queries from local networks only
- icp_access allow localnet
- icp_access deny all
- # verwendeter Port 3128
- http_port 192.168.10.1:3128 transparent
- # Tag: Programmumleitung zu Squid-Guard / hier deaktiviert
- # redirect_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf
- access_log /var/log/squid3/access.log squid
- # Speicherverwaltung
- cache_dir ufs /var/spool/squid3 2000 16 256
- cache_replacement_policy heap LFUDA
- memory_replacement_policy heap LFUDA
- maximum_object_size 5000 KB
- maximum_object_size_in_memory 32 KB
- cache_mem 32 MB
- cache_peer 127.0.0.1 parent 8080 0 no-query no-digest no-netdb-exchange default
- cache_peer_access 127.0.0.1 allow all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement