Logged in as admin then used:

sudo nano /etc/tor/torrc

ExcludeExitNodes {us},{au},{ca},{nz},{gb},{fr},{nl}


sudo systemctl restart tor

{us},{au},{ca},{nz},{gb},{fr} does work {nl} does NOT work?

Has the Netherlands got another country code?

  • Tor's geoip database follows ISO 3166 country codes, so "nl" should be the correct country code for the Netherlands. How specifically does it not work? Does tor give an error message? Do you see circuits with exits in the Netherlands?
    – Steve
    Apr 13 at 2:56
  • No error message, it allows the Netherlands {nl} to become an exit node notwithstanding ExcludeExitNodes {nl}
    – Gopal
    Apr 14 at 3:34
  • Did you reopen the torrc to check if it saved? What happens if you put nl in another position in the list instead of the end?
    – silverstar
    May 24 at 11:06


Your Answer

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

Browse other questions tagged or ask your own question.