Advertisement
Guest User

SquidConfigforCBUpdates

a guest
Oct 3rd, 2018
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. maximum_object_size_in_memory 1 GB
  2. maximum_object_size 1 GB
  3. acl vlan10-it src 10.10.0.0/16
  4. acl vlan19-management src 10.19.0.0/16
  5. quick_abort_min -1 KB
  6. refresh_pattern -i dl\.google\.com\/.*\.(signed|bin)$ 604800 100% 604800 override-expire
  7. debug_options ALL,1 33,2
  8.  
  9. acl SSL_ports port 443
  10. acl Safe_ports port 80 # http
  11. acl Safe_ports port 21 # ftp
  12. acl Safe_ports port 443 # https
  13. acl Safe_ports port 70 # gopher
  14. acl Safe_ports port 210 # wais
  15. acl Safe_ports port 1025-65535 # unregistered ports
  16. acl Safe_ports port 280 # http-mgmt
  17. acl Safe_ports port 488 # gss-http
  18. acl Safe_ports port 591 # filemaker
  19. acl Safe_ports port 777 # multiling http
  20.  
  21. acl CONNECT method CONNECT
  22. http_access deny !Safe_ports
  23. http_access deny CONNECT !SSL_ports
  24. http_access allow localhost manager
  25. http_access allow vlan10-it manager
  26. http_access allow vlan19-management manager
  27. http_access deny manager
  28.  
  29. acl vlan14-chromebooks src 10.14.0.0/16
  30. range_offset_limit 1 GB vlan14-chromebooks
  31. http_access allow vlan14-chromebooks
  32. http_access allow localhost
  33. http_access deny all
  34.  
  35. http_port 3128
  36.  
  37. coredump_dir /var/spool/squid
  38.  
  39. refresh_pattern ^ftp: 1440 20% 10080
  40. refresh_pattern ^gopher: 1440 0% 1440
  41. refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
  42. refresh_pattern (Release|Packages(.gz)*)$ 0 20% 2880
  43. refresh_pattern . 0 20% 4320
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement