Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 

README.md

Tor Proxy Toggle

Gives you a torprox command to toggle a Tor SOCKS proxy for OSX Yosemite.

Your web browser will then be able to run much of its traffic through Tor.

It will help bypassing certain firewalls or regional censorship. Not intended for anonymity. OSX leaks all kinds of stuff that won't funnel through this proxy.

Configured to route traffic through a US-based exit node on the Tor network.

Installation

Download the zip file from here, or the Download button to the right.

Unzip, and:

$ cd tor-proxy-toggle/
$ bash install.sh

After installation, if torprox doesn't become available in the same window, open a new terminal window and try it there.

Notes

  • OSX might prompt you to install command line developer tools... follow those prompts.
  • Also, Homebrew may require sudo permissions and prompt you for your password.
  • The proxy toggle script will execute networksetup -setsocksfirewallproxy, which apparently requires sudo permissions.
  • There are probably installation issues for all kinds of edge cases that I didn't think of. Feel free to contribute a pull request, or file an issue

Usage

After installation you will have a commandline alias to toggle your system SOCKS proxy on/off, with traffic routed through Tor:

$ torprox

Check your new IP address from whatismyipaddress.com or something like that.

TODO:

  • Support older versions of OSX (networksetup has different syntax, params, etc)
  • Add option to select preferred country as exit node.
  • Refactor, DRY
  • Better fail messages

About

Sets up an OSX alias to toggle a system SOCKS proxy through Tor.

Resources

Releases

No releases published

Packages

No packages published

Languages