Formula copied from homebrew#11870
brew install --HEAD tsocks.rb
Default proxy is localhost:10080
.
Edit the configuration here:
vim $(brew --prefix)/etc/tsocks.conf
Example: (tunnel a single CLI program)
ssh -D 10080 me@my-ssh-server
tsocks curl ifconfig.me
Example: (enable/ disable tunnel all programs in this session)
source tsocks [on | off]
Original: GPL
This repo: GPL
This is recently (How recent? See commits) tested on OSX 10.9.4. Here are some known caveats:
- If you have
/lib
dir, thelibtsocks??.dylib
files will be installed there, instead of the intended$(brew --prefix)/Cellar/tsocks/HEAD/lib