Skip to content

Instantly share code, notes, and snippets.

@aoxu
Created September 29, 2016 03:01
Show Gist options
  • Save aoxu/36afa143426e8ece7abde1b339d7d7f4 to your computer and use it in GitHub Desktop.
Save aoxu/36afa143426e8ece7abde1b339d7d7f4 to your computer and use it in GitHub Desktop.
forward socks5 to http/https
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install privoxy
vim /usr/local/etc/privoxy/config
forward-socks5 / 127.0.0.1:1080 .
brew services start privoxy
export https_proxy=http://127.0.0.1:8118;export http_proxy=http://127.0.0.1:8118
@egoarka
Copy link

egoarka commented Oct 14, 2018

nice snippet, will snatch from you if you don't mind

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