I configured my ExitNodes for {US}, However when I track the links I visit using Tor it shows that I'm surfing from an "Unknown" country, what could the problem be?

  • It is NOT recommended to set this option and restrict your exit nodes to one place. The number of exit nodes are limited and setting this option would just throw your anonymity out of the window. – mrphs May 31 '15 at 19:57

Tor uses the Maxmind GeoIP database for look ups to determine the country of origin for a given IP. If an IP is looked up in the database that is either completely unlisted, or has a listed IP but it cannot find a record of its country, it returns "xx" for the country code. Therefore "Unknown"

When Tor fails to find an exit node with an exit policy matching your request in the requested country, it will fail-over to use other countries instead so that it doesn't disrupt your usage. If you want to stop this from happening, choose strict mode in torrc.

StrictExitNodes 1
ExitNodes {us}

Also, it shouldn't matter but normally the country code is lowercase.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.