Skip to content

Instantly share code, notes, and snippets.

@arfevrier
Created July 12, 2025 19:26
Show Gist options
  • Select an option

  • Save arfevrier/018ec0b1ad215d714680ead8498ff805 to your computer and use it in GitHub Desktop.

Select an option

Save arfevrier/018ec0b1ad215d714680ead8498ff805 to your computer and use it in GitHub Desktop.
acl localnet src all
acl SSL_ports port 443
acl Safe_ports port 80
acl Safe_ports port 443
acl CONNECT method CONNECT
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost manager
http_access deny manager
http_access allow localhost
http_access allow localnet
http_access deny all
http_port 3128
coredump_dir /var/spool/squid
forwarded_for off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment