How to Change Tor Browser Country Configuration

Are you looking to customize the Tor Browser country configuration ? This guide will walk you through the steps to modify the Tor Browser’s settings to suit your needs.

Step 1: Locate the Tor Configuration File

Before you can make changes to the Tor Browser’s settings, you need to find the torrc file, which holds the configuration options.

Use the Default Installation Path

For most Windows installations, the Tor configuration file is located in:

C:\Users\\Desktop\Tor Browser\Browser\TorBrowser\Data\Tor

Use the Command Prompt

If you’re unsure where Tor is installed, you can use the where command:

where /R C:\ tor.exe

This command will display the full path to the tor.exe file. Navigate to the directory containing torrc based on the output.

Step 2: Open and Edit the torrc File

Once you locate the torrc file, follow these steps:

  1. Open the file in a text editor (e.g., Notepad or any code editor).
  2. Add or modify the following lines to specify entry and exit nodes:
EntryNodes {CA} StrictNodes 1
ExitNodes {CA} StrictNodes 1

Replace CA with the two-letter country code of your choice (e.g., US for the United States).

Save and close the file.

Important Notes:

  • Run Tor at least once: If it’s your first time using Tor, start it once to ensure the necessary files are created.
  • Close Tor before editing: Ensure Tor is not running while editing torrc to avoid conflicts.
  • Anonymity considerations: The Tor Project advises against specifying entry or exit nodes by country, as this may reduce anonymity.

Step 3: Restart Tor Browser

After editing the torrc file:

  1. Start the Tor Browser.
  2. Verify the changes by checking your exit node’s IP location. Use an IP lookup tool to confirm.