How to Set Specific Country on Tor Browser

On Windows

How to Set Specific Country on Tor Browser Picture 1

You need to make sure that Tor has been started at least once. In order for the file "torrc" (which determines the visibility of the exit node on Tor) to appear, the browser needs to be launched on the computer at least once.

You can launch Tor by double-clicking the browser icon and then selecting Connect.

How to Set Specific Country on Tor Browser Picture 2

Open the Tor folder. Go to the folder where you installed Tor and double-click the browser to open it.

How to Set Specific Country on Tor Browser Picture 3

Find the file "torrc". You can navigate to the "torrc" file in the Tor installation directory by:

  1. Double-click the Browser folder.
  2. Double-click the TorBrowser folder.
  3. Double-click the Data folder.
  4. Double-click the Tor folder.

How to Set Specific Country on Tor Browser Picture 4

Double click to open "torrc" document with Notepad. After you double click on the "torrc" file, the "Open with" window will appear, select Notepad and click Open. You should be able to edit the contents of the "torrc" file.

How to Set Specific Country on Tor Browser Picture 5

Add the line "EntryNodes". Place your cursor below the last line in the document, then type EntryNodes {} StrictNodes 1 and then press ↵ Enter.

How to Set Specific Country on Tor Browser Picture 6

Add the line "ExitNodes". You type ExitNodes {} StrictNodes 1 and press ↵ Enter.

How to Set Specific Country on Tor Browser Picture 7

Find the access and exit country codes. Go to https://web.archive.org/web/20180328074444/http://www.b3rn3d.com/blog/2014/03/05/tor-country-codes/ using a desktop web browser, scroll down titled "List of country codes for Tor", then find the code for the country you want to use as the access and exit node.

For example, if you want your Tor browsing session to start in Canada and end in the Republic of Uganda, look for the codes for "Canada" (ca) and "Uganda" (ug).

How to Set Specific Country on Tor Browser Picture 8

Enter the country code to access and exit. Enter the code for the country you want to use to start your browsing session between the curly braces {} to the right of the "EntryNodes" line, then do the same for the exit country in the "ExitNodes" line. For example, if you want to access in Canada and exit in Uganda, you would enter the following:

EntryNodes {ca} StrictNodes1

ExitNodes {ug} StrictNodes1

How to Set Specific Country on Tor Browser Picture 9

Consider disabling the strict node. You can proceed to replace StrictNodes 1 with StrictNodes 0 to ensure that Tor will still use a different country code if the specified country does not work.

How to Set Specific Country on Tor Browser Picture 10

Add more country options to strict network node. If you want a strict node enabled with an access node and/or an exit node, consider adding multiple countries instead of just one. You can add by typing each country code in a pair of curly braces and delimiting them with commas. For example, to add the United States and France to the Uganda "ExitNodes" line, you would enter:

ExitNodes {ug},{us},{fr} StrictNodes 1

You need to make sure that there are no spaces between each country within angle brackets.

How to Set Specific Country on Tor Browser Picture 11

Replace the original "torrc" file with the updated file. This will ensure that the browser's country settings are saved:

Click File (File)

Click Save As. (Save As)

Click the "Save as type" drop-down box and select All Files.

Click the file "torrc" in the main window to select it.

Click Save

Click Yes when the option appears.

How to Set Specific Country on Tor Browser Picture 12

Open Tor. Tor may take a few seconds longer to launch at this point, especially if you select a remote country.

How to Set Specific Country on Tor Browser Picture 13

Check the access and exit network nodes of the Tor circuit. Visit any website (for example, https://www.google.com/) using the Tor browser, then click the onion icon in the top left of the page. A drop-down menu titled "Tor circuit for this site" will appear with the browser, the access node, the intermediate connection, the exit node, and the Internet data, all listed from top to bottom.

In this example you would see: This Browser > Canada [IP address] > [Country] [IP address] > Uganda [IP address] > Internet

On Mac

How to Set Specific Country on Tor Browser Picture 14

You need to make sure that Tor has been launched at least once. In order for the file "torrc" (which determines the visibility of the exit node on Tor) to appear, the browser needs to be launched on the computer at least once.

You can launch Tor by double-clicking the browser icon and then selecting Connect.

How to Set Specific Country on Tor Browser Picture 15

Click Go . This menu item is at the top of the screen. A drop-down menu will appear.

If you can't find this menu item, you'll need to click on the desktop or open Finder first.

How to Set Specific Country on Tor Browser Picture 16

Click Go to Folder . This option is at the bottom of the drop-down menu. A text frame will appear in the center of the screen.

How to Set Specific Country on Tor Browser Picture 17

Enter the Tor directory address. Type ~/Library/Application Support/TorBrowser-Data/Tor/ and then press ⏎ Return. The directory containing the file "torrc" will open.

How to Set Specific Country on Tor Browser Picture 18

Open the file "torrc" with TextEdit. Double-click the "torrc" file, then select TextEdit when the computer asks you to choose a program. This will allow you to edit the contents of the "torrc" file.

How to Set Specific Country on Tor Browser Picture 19

Add the line "EntryNodes". Place your mouse pointer below the last line in the document, then type EntryNodes {} StrictNodes 1 and then press ⏎ Return.

How to Set Specific Country on Tor Browser Picture 20

Add the line "ExitNodes". You enter ExitNodes {} StrictNodes 1 and press ⏎ Return.

How to Set Specific Country on Tor Browser Picture 21

Find the access and exit country codes. Go to https://web.archive.org/web/20180328074444/http://www.b3rn3d.com/blog/2014/03/05/tor-country-codes/ using a desktop web browser, scroll Scroll down to the "List of country codes for Tor" heading, then find the code for the country you want to use as the access and exit node.

For example, if you want your Tor browsing session to start in Canada and end in the Republic of Uganda, look for the codes for "Canada" (ca) and "Uganda" (ug).

How to Set Specific Country on Tor Browser Picture 22

Enter the country code to access and exit. Enter the code for the country you want to use to start your browsing session between the curly braces {} to the right of the "EntryNodes" line, then do the same for the exit country in the "ExitNodes" line. For example, if you want to access in Canada and exit in Uganda, you would enter the following:

EntryNodes {ca} StrictNodes1

ExitNodes {ug} StrictNodes1

How to Set Specific Country on Tor Browser Picture 23

Consider disabling the node strictly. You can proceed to replace StrictNodes 1 with StrictNodes 0 to ensure that Tor will still use a different country code if the specified country does not work.

How to Set Specific Country on Tor Browser Picture 24

Add more country options to strict network node. If you want a strict node enabled with an access node and/or an exit node, consider adding multiple countries instead of just one. You can add by typing each country code in a pair of curly braces and delimiting them with commas. For example, to add the United States and France to the Uganda "ExitNodes" line, you would enter:

ExitNodes {ug},{us},{fr} StrictNodes 1

You need to make sure that there is no space between each pair of curly braces and the country inside.

How to Set Specific Country on Tor Browser Picture 25

Replace the original "torrc" file with the updated file. Press ⌘ Command+S, then exit TextEdit. The contents of the original "torrc" file will be updated.

How to Set Specific Country on Tor Browser Picture 26

Open Tor. Tor may take a few seconds longer to launch at this point, especially if you select a remote country.

How to Set Specific Country on Tor Browser Picture 27

Check the access and exit network nodes of the Tor circuit. Visit any website (for example, https://www.google.com/) using the Tor browser, then click the onion icon in the top left of the page. A drop-down menu titled "Tor circuit for this site" will appear with the browser, the access node, the intermediate connection, the exit node, and the Internet data, all listed from top to bottom.

In this example you would see: This Browser > Canada [IP address] > [Country] [IP address] > Uganda [IP address] > Internet

4.5 ★ | 12 Vote

May be interested

  • How to Fix Google Chrome Error When Watching YouTube FullscreenPhoto of How to Fix Google Chrome Error When Watching YouTube Fullscreen
    this article shows you how to fix fullscreen errors that arise when watching youtube with google chrome. this error can cause part of your browser or desktop to be displayed while in full screen mode, or worse, the feature to be turned off. usually restarting the browser or computer can solve the problem, but if that still doesn't work, you need to customize some settings to prevent the full screen error from occurring.
  • How to Block Websites on FirefoxPhoto of How to Block Websites on Firefox
    although firefox does not have a website blocking function, you can install an extension to detect and block websites with adult and restricted content. if you need a more comprehensive method, you can edit the hosts file to block the site on multiple browsers. if you need to block on multiple devices on the network, using a service like opendns is the most effective way.
  • Top 6 Email Finder Extensions for Mozilla FirefoxPhoto of Top 6 Email Finder Extensions for Mozilla Firefox
    look online, and you'll find that there are so many tools for a wide variety of marketing operations. anything from generating leads and finding emails to email verification and much more.
  • How to Start Firefox in Safe ModePhoto of How to Start Firefox in Safe Mode
    today's tipsmake will show you how to restart firefox on your computer into the browser's built-in 'safe mode'. this setting will disable all add-ons when firefox starts. you can either restart firefox into safe mode if the browser is open, or use a keyboard shortcut or command line program on your computer to force firefox to open directly into safe mode. note: you cannot start firefox into safe mode on a smartphone or tablet.
  • How to Turn Off Google Chrome Updates CompletelyPhoto of How to Turn Off Google Chrome Updates Completely
    today's tipsmake will show you how to prevent google chrome from automatically updating on windows, mac, iphone and android platforms. note that stopping updating google chrome puts your device and other devices and systems at risk of hacking or cyberattacks.
  • How to enable and use Guest Mode on ChromePhoto of How to enable and use Guest Mode on Chrome
    guest mode on chrome will automatically delete browsing history, cache, cookies every time you exit the session. the following article will show you how to enable and use guest mode on chrome.