Created
September 29, 2016 03:01
-
-
Save aoxu/36afa143426e8ece7abde1b339d7d7f4 to your computer and use it in GitHub Desktop.
forward socks5 to http/https
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nice snippet, will snatch from you if you don't mind