Advertisement
Guest User

Untitled

a guest
Oct 17th, 2017
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. max_filedesc 65535
  2. dns_v4_first on
  3. request_timeout 5 minutes
  4. acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
  5. acl localnet src fc00::/7 # RFC 4193 local private network range
  6. acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines
  7.  
  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.  
  20. http_access deny !Safe_ports
  21.  
  22. http_access allow localhost manager
  23. http_access allow localnet manager
  24. http_access deny manager
  25. http_access allow localnet
  26. http_access allow localhost
  27. http_access deny all
  28.  
  29. http_port 0.0.0.0:3128 intercept
  30. http_port 0.0.0.0:3130
  31. https_port 0.0.0.0:3129 intercept ssl-bump connection-auth=off cert=/etc/squid/squidCA.pem sslflags=NO_DEFAULT_CA
  32.  
  33. cache_mem 256 MB
  34. acl test ssl::server_name "/etc/squid/test.txt"
  35. acl step1 at_step SslBump1
  36. ssl_bump peek step1
  37. ssl_bump terminate test
  38. ssl_bump splice all
  39. sslcrtd_program /usr/lib/squid/ssl_crtd -s /var/lib/ssl_db -M 4MB
  40.  
  41. cache_dir ufs /var/spool/squid 15360 16 256
  42. cache_swap_low 87
  43. cache_swap_high 90
  44.  
  45. coredump_dir /var/spool/squid
  46.  
  47. refresh_pattern ^ftp: 1440 20% 10080
  48. refresh_pattern ^gopher: 1440 0% 1440
  49. refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
  50. refresh_pattern . 0 20% 4320
  51.  
  52. url_rewrite_program /usr/bin/squidGuard -c /etc/squidguard/squidGuard.conf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement