Skip to content

Instantly share code, notes, and snippets.

@bf4648
Created May 22, 2020 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bf4648/4cee907a6e4f15ca749acd07be78d1bf to your computer and use it in GitHub Desktop.
Save bf4648/4cee907a6e4f15ca749acd07be78d1bf to your computer and use it in GitHub Desktop.
Squid Setup

Squid Setup

Install

# brew install squid2

Update squid conf

# vim /usr/local/Cellar/squid2/2.7.9/etc/squid.conf

hosts_file /etc/hosts-squid
http_access allow all

Run squid

./squid -N -d 1 -D

Run chrome

open -a Google\ Chrome\ Canary --args --proxy-server=localhost:3128

Refs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment