Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. acl manager proto cache_object
  2. acl localhost src 127.0.0.1/32
  3. acl to_localhost dst 127.0.0.0/8
  4.  
  5. acl SSL_ports port 443
  6. acl Safe_ports port 80 # http
  7. acl Safe_ports port 21 # ftp
  8. acl Safe_ports port 20 # ftp
  9. acl Safe_ports port 443 # https
  10. acl Safe_ports port 70 # gopher
  11. acl Safe_ports port 210 # wais
  12. acl Safe_ports port 1025-65535 # unregistered ports
  13. acl Safe_ports port 280 # http-mgmt
  14. acl Safe_ports port 488 # gss-http
  15. acl Safe_ports port 591 # filemaker
  16. acl Safe_ports port 777 # multiling http
  17. acl Safe_ports port 84 # multiling http
  18. acl CONNECT method CONNECT
  19.  
  20. acl suporte src "/home/scripts/squid/suporte"
  21. acl redeloc src "/home/scripts/squid/redelocal"
  22.  
  23.  
  24. http_access allow manager localhost
  25. http_access deny manager
  26. # Deny requests to unknown ports
  27. http_access deny !Safe_ports
  28. # Deny CONNECT to other than SSL ports
  29. http_access deny CONNECT !SSL_ports
  30.  
  31.  
  32. http_access allow localhost
  33.  
  34.  
  35. http_access allow redeloc
  36. http_access allow suporte
  37.  
  38. http_access deny all
  39.  
  40. icp_access deny all
  41.  
  42. htcp_access deny all
  43.  
  44. http_port 3128
  45.  
  46. hierarchy_stoplist cgi-bin ?
  47.  
  48. access_log /var/log/squid/access.log squid
  49.  
  50. refresh_pattern ^ftp: 1440 20% 10080
  51. refresh_pattern ^gopher: 1440 0% 1440
  52. refresh_pattern (cgi-bin|\?) 0 0% 0
  53. refresh_pattern . 0 20% 4320
  54.  
  55. coredump_dir /var/spool/squid
  56.  
  57. acl NOCACHEDOMAIN dstdomain sinistro.uniaoresgate.com.br
  58. no_cache deny NOCACHEDOMAIN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement