новый вариант squid.confhttp_port 3128 transparent
cache_mem 100 MB
cache_dir ufs /usr/local/squid/cache 5000 64 256
cache_swap_high 95
cache_swap_low 80
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
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 CONNECT method CONNECT
cache_effective_user squid
#cache_effective_user nobody
maximum_object_size 4096 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 20 KB
memory_pools off
range_offset_limit 0 KB
#cache_effective_user cache
#cache_effective_group cache
cache_effective_user squid
cache_effective_group squid
visible_hostname proxy.local
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl all src 0.0.0.0/0.0.0.0
acl home src 10.0.0.0/255.255.255.0
http_access deny manager all
http_access allow localhost
http_access allow home
http_access deny all
icp_access allow home
icp_access deny all
miss_access allow home
miss_access deny all