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, 2022 at 2:56
  • No error message, it allows the Netherlands {nl} to become an exit node notwithstanding ExcludeExitNodes {nl}
    – Gopal
    Apr 14, 2022 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, 2022 at 11:06


You must log in to answer this question.

Browse other questions tagged .