/ tor

tor on mac with strict exit nodes

After reading a bit on the advantages and risks using tor I decided to give it a try and share the steps on installing tor on MacOS X 10.10 (Yosemite Beta).

  • Install brew (via: torproject.org)
    ruby -e "$(curl -fsSkL https://raw.github.com/Homebrew/homebrew/go/install)"
  • Compile and install tor

    brew install tor

    mkdir /usr/local/opt/tor/data

    vim /usr/local/etc/tor/torrc
    and make it run on startup
    ln -sfv /usr/local/opt/tor/*.plist ~/Library/LaunchAgents
  • Configure Tor with strict exit nodes (via link)
    You can get your preferred exit nodes from atlas.torproject.org and grab the fingerprint there or get one from a trusted organisation.

    This is what your torrc may look like:
AvoidDiskWrites 1<BR>
Log notice file /dev/null
SocksPort 9050
DataDirectory /usr/local/opt/tor/data
DirReqStatistics 0
StrictNodes 1
ExitNodes $1A1DA6B9F262699A87F9A4F24EF48B50148EB018, $A07FF746D9BA56C3F916BBD404307396BFA862E0, $CF7794178F0242815A03096F37EF295553D996CC*
  • Configure Firefox and Thunderbirdproxy
    (or any other application)