code.fastix.org

Dateiansicht:

Datei:Projekte -> Linux:Netzwerk für Seminare -> Router_Server -> etc -> squid -> squid.conf
md5:b94779e0aaac7b663b1de33c486e1481
sha1:e52cd000acc24a7c5dc8b807e6f9ed64a0f2c660
  1. acl SSL_ports port 443
  2. acl Safe_ports port 80          # http
  3. acl Safe_ports port 21          # ftp
  4. acl Safe_ports port 443         # https
  5. acl Safe_ports port 70          # gopher
  6. acl Safe_ports port 210         # wais
  7. acl Safe_ports port 1025-65535  # unregistered ports
  8. acl Safe_ports port 280         # http-mgmt
  9. acl Safe_ports port 488         # gss-http
  10. acl Safe_ports port 591         # filemaker
  11. acl Safe_ports port 777         # multiling http
  12.  
  13. acl local_service src 10.11.12.0/24
  14.  
  15. acl CONNECT method CONNECT
  16. http_access deny !Safe_ports
  17. http_access deny CONNECT !SSL_ports
  18. http_access allow localhost manager
  19. http_access deny manager
  20. http_access allow local_service
  21. http_access deny all
  22. http_port 10.11.12.1:3128
  23. cache_peer 127.0.0.1 parent 8118 7 no-query
  24. coredump_dir /var/spool/squid
  25. refresh_pattern ^ftp:           1440    20%     10080
  26. refresh_pattern ^gopher:        1440    0%      1440
  27. refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
  28. refresh_pattern (Release|Packages(.gz)*)$      0       20%     2880
  29. refresh_pattern .               0       20%     4320
  30.