- #Setting up tor browser mac how to#
- #Setting up tor browser mac for mac#
- #Setting up tor browser mac install#
- #Setting up tor browser mac update#
- #Setting up tor browser mac code#
#Setting up tor browser mac code#
Why would you want to change your country code in Tor? By the end of this guide, you’ll be able to send web traffic from Albania to Zambia, all without leaving your house.
#Setting up tor browser mac how to#
This article will show you how to change Tor country codes on Windows, Mac and Linux. While its standard configuration is great for hiding your web activity, you will have to make some alterations if you want your data to travel through nodes in specific countries. I’m using macOS Catalina (10.15) for the following instructions but it should work on almost any macOS version.Tor is one of the most important tools for anonymous browsing. The most simple way to surf anonymously with Tor is to just grab Tor Browser. It’s a modified version of Firefox Extended Support Release (ESR) with Tor and some extensions (Torbutton, TorLauncher, NoScript, and HTTPS-Everywhere) built right in. Upon start, Tor Browser automatically starts the required Tor background processes and routes traffic through the Tor network. That’s the way to go if you want the highest level of protection without much further configuration.īut it’s based on an older version of Firefox and there might be more you want to do anonymously on your machine than just browsing the web, like accessing resources via the Terminal or any other app. Or just use the browser you’re used to.įor this you need to have Tor installed on your system and additionally set specific proxy values in your network preferences after you’ve started Tor.īe aware that the instructions and the script mentioned below will not make whatever you do on the web anonymous. Much depends on your browsing habits, what apps you're using, and none of the methods below will offer the same level of protection than Tor Browser out of the box.
#Setting up tor browser mac install#
#Install TorĬontrary to the weirdly outdated install instructions on Tor’s website (hey, remember Macports?), installing Tor on macOS is super simple with Homebrew. In your Terminal execute: brew install torĬongratulations, you now have Tor running on your system. But none of your network traffic is routed through it yet.
#Setting up tor browser mac for mac#
CONFIGURE TOR BROWSER FOR MAC PLUSĬreate a new location by hitting the plus button and name it Tor.From Location dropdown at the top, select Edit Locations….You can do this under System Preferences > Network by creating a specific Tor network location for it: #Set network proxy settings via System Preferences In order for all your system traffic being routed through Tor you need to adjust your system’s network proxy settings which you can either do visually in the System Preferences or programmatically via macOS’s builtin networksetup. Hitting Done will select the new location which is now ready to be configured. Go to Advanced > Proxies and activate SOCKS Proxy and add those values:Īfter hitting OK & Apply at the initial network screen, you can easily switch to this newly created location from your menu bar under > Location whenever you start up Tor.Switching to the Tor location routes all network traffic on your system through Tor. #All in one go: start Tor & set network proxy settings automatically Note that you have to repeat those steps for every other network interface if you use, say, Wi-Fi and Ethernet interchangeably. When you’re already in the Terminal to start up Tor, additionally setting the network settings involves a lot of fiddling around. Thankfully macOS provides a way to programmatically set those proxy values via the networksetup utility. I’ve found a nice script for this but running it opened multiple admin password prompts. So I extended it a bit to make it more user friendly.
#Setting up tor browser mac update#
In a nutshell, this shell script asks you for your admin password upfront, starts up Tor, and sets all required proxy network settings automatically: #! /usr/bin/env bash # 'Wi-Fi' or 'Ethernet' or 'Display Ethernet' INTERFACE=Wi-Fi # Ask for the administrator password upfront sudo -v # Keep-alive: update existing `sudo` time stamp until finished while true do sudo -n true sleep 60 kill -0 " $ $ " || exit done 2> /dev/null & # trap ctrl-c and call disable_proxy() function disable_proxy() trap disable_proxy INT # Let's roll sudo networksetup -setsocksfirewallproxy $ INTERFACE 127.0.0.1 9050 off sudo networksetup -setsocksfirewallproxystate $ INTERFACE on echo "$( tput setaf 64 )" # green echo " SOCKS proxy 127.0.0.1:9050 enabled. " echo "$( tput sgr0 )" # color reset tor " echo "$( tput setaf 136 )" # orange echo " Starting Tor. So you can just run tor.shĪnd Tor should run smoothly on your system without additional configuration: Save this script under something like tor.sh in one of your sourced bin folders, make it executable with chmod + x and use it as a replacement for the general tor command.