#Recommended minimum configuration: 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 563 acl http port 80 8080 # http acl ftp port 21 20 # ftp acl https_snews port 443 563 # https, snews acl gopher port 70 # gopher acl wais port 210 # wais acl unregistered port 1025-65535 # unregistered ports acl http_mgmt port 280 # http-mgmt acl gss-http port 488 # gss-http acl filemaker port 591 # filemaker acl multilinghttp port 777 # multiling http acl CONNECT method CONNECT # TAG: http_access # Allowing or Denying access based on defined access lists # # Access to the HTTP port: # http_access allow|deny [!]aclname ... # # NOTE on default values: # # If there are no "access" lines present, the default is to deny # the request. # # If none of the "access" lines cause a match, the default is the # opposite of the last line in the list. If the last line was # deny, then the default is allow. Conversely, if the last line # is allow, the default will be deny. For these reasons, it is a # good idea to have an "deny all" or "allow all" entry at the end # of your access lists to avoid potential confusion. # #Default: # http_access deny all # #Recommended minimum configuration: # # 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 # # We strongly recommend to uncomment the following to protect innocent # web applications running on the proxy server who think that the only # one who can access services on "localhost" is a local user #http_access deny to_localhost # # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS http_access allow http http_access deny ftp http_access deny gopher http_access deny https_snews http_access deny wais http_access deny unregistered http_access deny http_mgmt http_access deny gss-http http_access deny filemaker http_access deny multilinghttp http_access deny SSL_ports http_access deny all # Example rule allowing access from your local networks. Adapt # to list your (internal) IP networks from where browsing should # be allowed #acl our_networks src 192.168.1.0/24 192.168.2.0/24 #http_access allow our_networks # And finally deny all other access to this proxy http_access allow localhost http_access deny all