Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. acl AllowedSites dstdomain "/home/john/squid3_sites/allowed-sites.squid"
  2. acl RestrictedSites dstdomain "/home/john/squid3_sites/restricted-sites.squid"
  3.  
  4. http_access allow AllowedSites
  5. http_access deny RestrictedSites
  6.  
  7. http_access allow AllowedSites
  8. http_access deny RestrictedSites
  9. http_access deny !Safe_ports
  10. http_access deny CONNECT !SSL_ports
  11. http_access deny all
  12.  
  13. acl SSL_ports port 443 563
  14. acl AllowedSites dstdomain “/usr/local/etc/allowed-sites.squid”
  15. acl RestrictedSites dstdomain “/usr/local/etc/restricted-sites.squid”
  16. acl Safe_ports port 80 # http
  17. acl Safe_ports port 21 # ftp
  18. acl Safe_ports port 443 563 # https, snews
  19. acl Safe_ports port 70 # gopher
  20. acl Safe_ports port 1025-65535 # unregistered ports
  21. acl Safe_ports port 280 # http-mgmt
  22. acl Safe_ports port 488 # gss-http
  23. acl Safe_ports port 591 # filemaker
  24. acl Safe_ports port 777 # multiling http
  25. acl CONNECT method CONNECT
  26. acl all src all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement