Advertisement
wolframm

Untitled

Apr 13th, 2020
33
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/internet_users
  2. auth_param basic children 50
  3. auth_param basic realm =Hillarys Proxy-Server=
  4. acl localhost src 127.0.0.1/32
  5. acl manager proto cache_object
  6. acl allowinet proxy_auth "/etc/squid/usersallow"
  7. acl SSL_ports port 443
  8. acl Safe_ports port 80 # http
  9. acl Safe_ports port 21 # ftp
  10. acl Safe_ports port 443 # https
  11. acl Safe_ports port 70 # gopher
  12. acl Safe_ports port 210 # wais
  13. acl Safe_ports port 1025-65535 # unregistered ports
  14. acl Safe_ports port 280 # http-mgmt
  15. acl Safe_ports port 488 # gss-http
  16. acl Safe_ports port 591 # filemaker
  17. acl Safe_ports port 777 # multiling http
  18. acl CONNECT method CONNECT
  19. http_access allow allowinet
  20. http_access allow manager localhost
  21. http_access deny manager
  22. http_access deny !Safe_ports
  23. http_access deny CONNECT !SSL_ports
  24. http_access allow localhost
  25. http_access deny all
  26. http_port 1080
  27. cache_dir aufs /var/spool/squid 20000 49 256
  28. coredump_dir /var/spool/squid
  29. client_persistent_connections off
  30. server_persistent_connections off
  31. refresh_pattern ^ftp: 1440 20% 10080
  32. refresh_pattern ^gopher: 1440 0% 1440
  33. refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
  34. refresh_pattern . 0 20% 4320
  35. maximum_object_size 61440 KB
  36. minimum_object_size 3 KB
  37. cache_swap_low 90
  38. cache_swap_high 95
  39. maximum_object_size_in_memory 512 KB
  40. memory_replacement_policy lru
  41. logfile_rotate 1
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement