Advertisement
Guest User

squid.conf

a guest
Apr 6th, 2020
1,187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.78 KB | None | 0 0
  1. acl localhost src 127.0.0.1/32 ::1
  2. acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
  3. acl SSL_ports port 443
  4. acl Safe_ports port 80
  5. acl Safe_ports port 21
  6. acl Safe_ports port 443
  7. acl Safe_ports port 70
  8. acl Safe_ports port 210
  9. acl Safe_ports port 1025-65535
  10. acl Safe_ports port 280
  11. acl Safe_ports port 488
  12. acl Safe_ports port 591
  13. acl Safe_ports port 777
  14. acl CONNECT method CONNECT
  15. acl SSH dst xxxxxxxxx-xxxxxxxxx/32
  16. http_access allow SSH
  17. http_access allow manager localhost
  18. http_access deny manager
  19. http_access allow localhost
  20. http_access deny all
  21. http_port 8080
  22. http_port 3128
  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 . 0 20% 4320
  28. visible_hostname VoidMY
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement