How to Set a Specific Country in a Tor Browser

This article was co-authored by our trained team of editors and researchers who validated it for accuracy and comprehensiveness. wikiHow's Content Management Team carefully monitors the work from our editorial staff to ensure that each article meets our high standards.

The wikiHow Tech Team also followed the article's instructions and validated that they work.
Learn more...

This wikiHow teaches you how to add a custom entry country and exit country for the Tor desktop browser. Doing so will prompt Tor to use specific servers in other countries, allowing you to get around web restrictions in your own region. Keep in mind that not all countries will allow you to use Tor, meaning that some specific countries won't work for entry and exit options.

Enter your entry and exit country codes. Type the code for the country in which you want your session to start in between the {} brackets to the right of the "EntryNodes" line, then repeat with the exit country and the "ExitNodes" line. For example, to enter in Canada and exit in Uganda, your lines might look like this:

Add multiple country options to a strict node. If you do want to keep strict nodes enabled for your entry and/or exit nodes, consider adding multiple countries rather than just using one country. You can add countries by adding more country codes inside of brackets, making sure to separate them with spaces. For example, to add the United States and France to the "ExitNodes" Uganda line, you would have the following line:

Check your circuit's entry and exit nodes. Go to any website (e.g., https://www.google.com/) in Tor, then click the onion-shaped icon in the upper-left side of the page. A drop-down menu with a "Tor circuit for this site" heading will appear with your browser, entry node, middle connections, exit node, and the Internet listed from top to bottom.

Enter your entry and exit country codes. Type the code for the country in which you want your session to start in between the {} brackets to the right of the "EntryNodes" line, then repeat with the exit country and the "ExitNodes" line. For example, to enter in Canada and exit in Uganda, your lines might look like this:

Add multiple country options to a strict node. If you do want to keep strict nodes enabled for your entry and/or exit nodes, consider adding multiple countries rather than just using one country. You can add countries by adding more country codes inside of brackets, making sure to separate them with spaces. For example, to add the United States and France to the "ExitNodes" Uganda line, you would have the following line:

Check your circuit's entry and exit nodes. Go to any website (e.g., https://www.google.com/) in Tor, then click the onion-shaped icon in the upper-left side of the page. A drop-down menu with a "Tor circuit for this site" heading will appear with your browser, entry node, middle connections, exit node, and the Internet listed from top to bottom.

Community Q&A

Open the folder where you have installed Tor, browse through browser > Tor browser > Tor > data. There you will find a file named "torrc." Open the file with Notepad. At the end of the document, on a new line, write this: ExitNodes {US}. For example, if you want your exit node to be in China, type {CN}.