daily pastebin goal
45%
SHARE
TWEET

Untitled

a guest Sep 12th, 2018 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. acl mynet src 95.202.101.0/24
  2. acl SSL_ports port 443
  3. acl Safe_ports port 80          # http
  4. acl Safe_ports port 21          # ftp
  5. acl Safe_ports port 443         # https
  6. acl Safe_ports port 70          # gopher
  7. acl Safe_ports port 210         # wais
  8. acl Safe_ports port 1025-65535  # unregistered ports
  9. acl Safe_ports port 280         # http-mgmt
  10. acl Safe_ports port 488         # gss-http
  11. acl Safe_ports port 591         # filemaker
  12. acl Safe_ports port 777         # multiling http
  13. acl CONNECT method CONNECT
  14. http_access allow mynet
  15. http_access deny !Safe_ports
  16. http_access deny CONNECT !SSL_ports
  17. http_access allow localhost manager
  18. http_access deny manager
  19. http_access allow localhost
  20. http_access allow all
  21. #http_access deny all
  22. http_port 28372 # the listening port
  23. coredump_dir /var/spool/squid3
  24. refresh_pattern ^ftp:           1440    20%     10080
  25. refresh_pattern ^gopher:        1440    0%      1440
  26. refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
  27. refresh_pattern (Release|Packages(.gz)*)$      0       20%     2880
  28. refresh_pattern .               0       20%     4320
  29. #forwarded_for delete
  30. forwarded_for off
  31. via off
  32. follow_x_forwarded_for deny all
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top