How to Set Specific Country on Tor Browser

Today's TipsMake will show you how to customize the access and exit countries on the Tor desktop browser. As such, Tor will use a specific server in another country and allow you to bypass web restrictions in your current region. Note: not all countries allow the use of Tor, so certain countries may not have access and exit options.

Table of Contents

On Windows

images 1 of How to Set Specific Country on Tor Browser
Images 1 of How to Set Specific Country on Tor Browser

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.

images 2 of How to Set Specific Country on Tor Browser
Images 2 of How to Set Specific Country on Tor Browser

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

images 3 of How to Set Specific Country on Tor Browser
Images 3 of How to Set Specific Country on Tor Browser

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.

images 4 of How to Set Specific Country on Tor Browser
Images 4 of How to Set Specific Country on Tor Browser

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.

images 5 of How to Set Specific Country on Tor Browser
Images 5 of How to Set Specific Country on Tor Browser

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

images 6 of How to Set Specific Country on Tor Browser
Images 6 of How to Set Specific Country on Tor Browser

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

images 7 of How to Set Specific Country on Tor Browser
Images 7 of How to Set Specific Country on Tor Browser

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).

images 8 of How to Set Specific Country on Tor Browser
Images 8 of How to Set Specific Country on Tor Browser

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

images 9 of How to Set Specific Country on Tor Browser
Images 9 of How to Set Specific Country on Tor Browser

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.

images 10 of How to Set Specific Country on Tor Browser
Images 10 of How to Set Specific Country on Tor Browser

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.

images 11 of How to Set Specific Country on Tor Browser
Images 11 of How to Set Specific Country on Tor Browser

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.

images 12 of How to Set Specific Country on Tor Browser
Images 12 of How to Set Specific Country on Tor Browser

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

images 13 of How to Set Specific Country on Tor Browser
Images 13 of How to Set Specific Country on Tor Browser

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

images 14 of How to Set Specific Country on Tor Browser
Images 14 of How to Set Specific Country on Tor Browser

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.

images 15 of How to Set Specific Country on Tor Browser
Images 15 of How to Set Specific Country on Tor Browser

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.

images 16 of How to Set Specific Country on Tor Browser
Images 16 of How to Set Specific Country on Tor Browser

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.

images 17 of How to Set Specific Country on Tor Browser
Images 17 of How to Set Specific Country on Tor Browser

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

images 18 of How to Set Specific Country on Tor Browser
Images 18 of How to Set Specific Country on Tor Browser

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.

images 19 of How to Set Specific Country on Tor Browser
Images 19 of How to Set Specific Country on Tor Browser

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

images 20 of How to Set Specific Country on Tor Browser
Images 20 of How to Set Specific Country on Tor Browser

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

images 21 of How to Set Specific Country on Tor Browser
Images 21 of How to Set Specific Country on Tor Browser

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).

images 22 of How to Set Specific Country on Tor Browser
Images 22 of How to Set Specific Country on Tor Browser

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

images 23 of How to Set Specific Country on Tor Browser
Images 23 of How to Set Specific Country on Tor Browser

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.

images 24 of How to Set Specific Country on Tor Browser
Images 24 of How to Set Specific Country on Tor Browser

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.

images 25 of How to Set Specific Country on Tor Browser
Images 25 of How to Set Specific Country on Tor Browser

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.

images 26 of How to Set Specific Country on Tor Browser
Images 26 of How to Set Specific Country on Tor Browser

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

images 27 of How to Set Specific Country on Tor Browser
Images 27 of How to Set Specific Country on Tor Browser

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
« PREV : How to Speed ​​Up...
How to Create... : NEXT »