Skip to content

Instantly share code, notes, and snippets.

@lvnilesh
Forked from tpai/instructions.md
Created November 26, 2021 06:24
Show Gist options
  • Save lvnilesh/8d7603ff22796e21f9dbfc6f2921466e to your computer and use it in GitHub Desktop.
Save lvnilesh/8d7603ff22796e21f9dbfc6f2921466e to your computer and use it in GitHub Desktop.
use both Tor and Privoxy with Mac OSX

1. install

brew install tor
brew install privoxy

2. copy and modify config file

cp /usr/local/etc/privoxy/config /usr/local/opt/privoxy/sbin/
# add the following line into config file, it means forward filtered data to Tor.
forward-socks4a / 127.0.0.1:9050 .

3. launch

./usr/local/opt/tor/sbin/tor
./usr/local/opt/privoxy/sbin/privoxy

4. check if listen

netstat -an | grep 9050
127.0.0.1:9050 LISTEN

netstat -an | grep 8118
127.0.0.1:8118 LISTEN

5. web browser settings

Manually set your proxy configuration, fill HTTP and SSL Proxy column up with "127.0.0.1:8118".

6. try

Ref: Use both Tor and Privoxy

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