Set TOR Exit Node – TOR Browser, Country Code, Specific Node

Why Set TOR Exit Node

If you use TOR and you want your browser Geolocation changed you can set TOR Exit Node to specific Country or Server instead of using the default settings. Using Specific Exit Node can slow down your speed and compromise your privacy, since all your traffic is going always through restricted list of nodes.

Editing “torrc” settings file

Full path to the file that needs to be changed:

..\Tor Browser\Browser\TorBrowser\Data\Tor\torrc

You can edit it with regular notepad.
By default, it should be empty.

Set TOR Exit Node to Specific Country

Add the next line in the “torrc” file:

ExitNodes {Country Code} StrictNodes 1

“StrictNodes 1” – Means TOR will use only this country exit nodes.
Note: If there are several Exit Nodes in that country, TOR will connect you to the fastest available.
For example, if you want to set TOR Exit Node to Australia:

ExitNodes {au} StrictNodes 1

If you want to set several countries (Australia + Canada):

ExitNodes {au} StrictNodes 1
ExitNodes {ca} StrictNodes 1

If no nodes are available for that country – TOR will not connect. In this case, you can set “StrictNodes 0”. “0” means TOR will try to connect to the Exit Node, but if it is not available, it will connect to the Exit Node in default settings.

TOR is using ISO Standard country codes. Full list on Wikipedia ISO Standard Country Codes.

HackerTarget TOR Exit Node Visualization – shows you visualized map of the TOR Exit nodes worldwide.

Check “torrc” File Settings Application

To check if TOR is indeed using the exit node that you selected navigate in TOR to TOR Project Browser Check.
This should show you the IP of the Exit Node that is currently used and that it is indeed working.
Click on “Relay Search” this should navigate you to a link like that:

https://metrics.torproject.org/rs.html#search/128.0.0.1

“128.0.0.1” is an example. It should be the IP of your Exit Node.
On the node details page you will see: Advertised Bandwidth, Host Name, Country, Uptime, AS Name / Number, Exit Policies, Platform, History, etc.

A simpler method would be using any Online Service that shows you your IP address and Geolocation – Google “What Is My IP”. Try using several services to see that they are showing the same. Save one of them for future uses, so you will not search them again.

Connect to Specific TOR Exit Node from Specific Country

To check for all the available Exit Nodes in a specific country, you can use the link similar to the one from above on “metrics.torproject.org”, using this country’s ISO code. Example for Australia:

https://metrics.torproject.org/rs.html#search/country:au

The results will filter by “Advertised Bandwidth”, but you can click on any column header to filter it by other variables. You can change the country in the search field if you need.

To set the specific TOR Exit Node – edit the “torrc” file:

ExitNodes 128.0.0.1

“128.0.0.1” is IP example – use IP address of the actual Exit Node.
Note: No need for “StrictNodes 1” here.
A problem with specific Exit Nodes: If it does not allow traffic on port 80 or 443 – you will not be able to browse the web.

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.