Advertisement
Guest User

squid.conf

a guest
Oct 22nd, 2011
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1.  
  2.  
  3. http_port 3128
  4. visible_hostname proxy.lnxserver.local
  5.  
  6. cache_mem 32 MB
  7. maximum_object_size_in_memory 64 KB
  8. maximum_object_size 512 MB
  9. minimum_object_size 0 KB
  10. cache_swap_low 90
  11. cache_swap_high 95
  12. cache_dir ufs /var/spool/squid3 2048 16 256
  13. cache_access_log /var/log/squid3/access.log
  14. refresh_pattern ^ftp: 15 20% 2280
  15. refresh_pattern ^gopher: 15 0% 2280
  16. refresh_pattern . 15 20% 2280
  17.  
  18. #acl all src 0.0.0.0/0.0.0.0
  19. acl manager proto cache_object
  20. acl localhost src 127.0.0.1
  21. acl SSL_ports port 443 563
  22. acl Safe_ports port 80 # http
  23. acl Safe_ports port 21 # ftp
  24. acl Safe_ports port 443 563 # https, snews
  25. acl Safe_ports port 70 # gopher
  26. acl Safe_ports port 210 # wais
  27. acl Safe_ports port 1025-65535 # unregistered ports
  28. acl Safe_ports port 280 # http-mgmt
  29. acl Safe_ports port 488 # gss-http
  30. acl Safe_ports port 591 # filemaker
  31. acl Safe_ports port 777 # multiling http
  32. acl Safe_ports port 901 # SWAT
  33. acl purge method PURGE
  34. acl CONNECT method CONNECT
  35.  
  36. http_access allow manager localhost
  37. http_access deny manager
  38. http_access allow purge localhost
  39. http_access deny purge
  40. http_access deny !Safe_ports
  41. http_access deny CONNECT !SSL_ports
  42.  
  43. acl redelocal src 10.0.0.0
  44. http_access allow localhost
  45. http_access allow redelocal
  46.  
  47. #http_access deny all
  48.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement