Advertisement
Guest User

Untitled

a guest
Dec 17th, 2012
500
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1.  
  2. acl localhost src 127.0.0.1/32 ::1
  3. acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
  4. acl trusted src all # internal IP from venet0:1 and ISP IP (Cable/DSL)
  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 443 # https
  9. acl Safe_ports port 70 # gopher
  10. acl Safe_ports port 210 # wais
  11. acl Safe_ports port 1025-65535 # unregistered ports
  12. acl Safe_ports port 280 # http-mgmt
  13. acl Safe_ports port 488 # gss-http
  14. acl Safe_ports port 591 # filemaker
  15. acl Safe_ports port 777 # multiling http
  16. acl CONNECT method CONNECT
  17. always_direct allow all
  18. ssl_bump allow all
  19. cache allow all
  20. http_access allow all
  21. http_access allow manager localhost
  22. #http_access deny manager
  23. #http_access deny !Safe_ports
  24. #http_access deny CONNECT !SSL_ports
  25. http_access allow trusted
  26. http_access allow localhost
  27. http_access deny all
  28. http_port 0.0.0.0:3128 transparent
  29. https_port 0.0.0.0:3129 transparent ssl-bump cert=/etc/squid/proxy.example.com.cert key=/etc/squid/proxy.example.com.key
  30. hierarchy_stoplist cgi-bin ?
  31. debug_options ALL,3
  32. coredump_dir /var/spool/squid3
  33. cache deny all
  34.  
  35. # Uncomment and adjust the following to add a disk cache directory.
  36. #cache_dir ufs /usr/local/squid/var/cache/squid 100 16 256
  37.  
  38. # Leave coredumps in the first cache dir
  39. #coredump_dir /usr/local/squid/var/cache/squid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement