Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- acl AllowedSites dstdomain "/home/john/squid3_sites/allowed-sites.squid"
- acl RestrictedSites dstdomain "/home/john/squid3_sites/restricted-sites.squid"
- http_access allow AllowedSites
- http_access deny RestrictedSites
- http_access allow AllowedSites
- http_access deny RestrictedSites
- http_access deny !Safe_ports
- http_access deny CONNECT !SSL_ports
- http_access deny all
- acl SSL_ports port 443 563
- acl AllowedSites dstdomain “/usr/local/etc/allowed-sites.squid”
- acl RestrictedSites dstdomain “/usr/local/etc/restricted-sites.squid”
- 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 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 all src all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement