# # Recommended minimum configuration: # # Example rule allowing access from your local networks. # Adapt to list your (internal) IP networks from where browsing # should be allowed #acl all src all #acl localhost src 127.0.0.0/8 visible_hostname "genTooBox" # Classes acl localnet src 10.0.0.0/8 # RFC1918 possible internal network acl localnet src 172.16.0.0/12 # RFC1918 possible internal network acl localnet src 192.168.0.0/16 # RFC1918 possible internal network acl localnet src fc00::/7 # RFC 4193 local private network range acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines acl localhost src 127.0.0.1/32 # Localhost acl lan src 172.16.0.0/24 # LAN where authorized clients reside acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 # Requests to localhost acl local_net src 192.168.1.1/24 acl SSL_ports port 443 # https port acl Safe_ports port 80 21 443 # http, ftp, https ports acl CONNECT method CONNECT # SSL CONNECT method # Only allow cachemgr access from localhost http_access allow manager localhost http_access deny manager # Deny requests to unknown ports http_access deny !Safe_ports # Deny CONNECT to other than SSL ports http_access deny CONNECT !SSL_ports # Prevent access to local web applications from remote users http_access deny to_localhost # Allow access from the local network http_access allow lan http_access allow local_net http_access allow localhost # Default deny (this must be the last rule) http_access deny all # Squid normally listens to port 3128 #http_port 192.168.1.1:3128 transparent http_port 127.0.0.1:3128 cache_mem 150 MB cache_dir ufs /var/cache/squid 500 16 256 cache_mgr genTooBox@moptund.com offline_mode off maximum_object_size 102400 KB reload_into_ims off cache_effective_user squid cache_effective_group squid ftp_user genTooBox@moptund.com # Define the access log format logformat squid %ts.%03tu %6tr %>a %Ss/%03>Hs %