Вот конфигhttp_port 3128
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
cache_mem 50 MB
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /var/lib/squid/cache 500 16 256
access_log /var/lib/squid/logs/access.log squid
cache_log /var/lib/squid/logs/cache.log
cache_store_log /var/lib/squid/logs/store.log
auth_param basic program /usr/libexec/ncsa_auth /etc/squid/ncsa.sams
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl _sams_default proxy_auth "/etc/squid/default.sams"
acl _sams_default_time time MTWHFAS 00:00-23:00
acl _sams_4799f85194d89 proxy_auth "/etc/squid/4799f85194d89.sams"
acl _sams_4799f85194d89_time time MTWHFAS 00:00-23:59
acl _sams_479a0461f1255 proxy_auth "/etc/squid/479a0461f1255.sams"
acl _sams_479a0461f1255_time time MTWHFAS 00:00-23:59
acl _sams_479a134e4744e proxy_auth "/etc/squid/479a134e4744e.sams"
acl _sams_479a134e4744e_time time MTWHFAS 00:00-23:59
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443
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 CONNECT method CONNECT
acl av_network src 192.168.1.0/255.255.255.0
acl_uses_indirect_client off
delay_pool_uses_indirect_client off
log_uses_indirect_client off
http_access allow _sams_default _sams_default_time
http_access allow _sams_4799f85194d89 _sams_4799f85194d89_time
http_access allow _sams_479a0461f1255 _sams_479a0461f1255_time
http_access allow _sams_479a134e4744e _sams_479a134e4744e_time
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow av_network
http_access deny all
http_reply_access allow all
icp_access allow all
cache_effective_user nobody
cache_effective_group nobody
delay_pools 4
delay_class 1 2
delay_class 2 2
delay_class 3 2
delay_class 4 2
delay_access 1 allow _sams_4799f85194d89
delay_access 1 deny all
delay_parameters 1 524288/524288 524288/524288
delay_access 2 allow _sams_479a0461f1255
delay_access 2 deny all
delay_parameters 2 524288/524288 524288/524288
delay_access 3 allow _sams_479a134e4744e
delay_access 3 deny all
delay_parameters 3 -1/-1 -1/-1
delay_access 4 allow _sams_default
delay_access 4 deny all
delay_parameters 4 64000/64000 64000/64000
coredump_dir /var/lib/squid/cache