PSA: Setting the Windows Firefox Tor browser to use USA exit nodes
More and more, email/social media/news sites balk at some Tor exit nodes.
So I set it to US exit nodes only.
But there was debugging necessary, so to help others, here's what I did.
The one step is to set this in the torrc file:
C:\> gvim "C:\app\browser\tor\Tor Browser\Browser\TorBrowser\Data\Tor\torrc"
ExitNodes {us}
StrictNodes 1
But these were the (simplified) steps that worked:
1. Close tor browser & find & kill any and all related processes
C:\> tasklist | findstr /i "firefox tor"
C:\> taskkill /f /im tor.exe /im firefox.exe
2. Tor caches old routing paths and consensus lists.
Deleting these forces it to pull a fresh node list:
C:\> del "C:\app\browser\tor\Tor Browser\Browser\TorBrowser\Data\Tor\cached-microdescs"
C:\> del "C:\app\browser\tor\Tor Browser\Browser\TorBrowser\Data\Tor\cached-microdesc-consensus"
Note: I never use plurals, spaces, nor more than 8 character naming.
a. Software goes in: C:\software\browser\tor\.
b. Apps go in: C:\app\browser\tor\.
c. Menus go in: C:\menu\browser\tor\.
Everything after that, is put there by the developer.
3. Add the directive to exit from US nodes only to the torrc file:
C:\> gvim "C:\app\browser\tor\Tor Browser\Browser\TorBrowser\Data\Tor\torrc"
ExitNodes {us}
StrictNodes 1
4. Test using debug mode (which only outputs to standard out):
C:\> "C:\app\browser\tor\Tor Browser\Browser\TorBrowser\Tor\tor.exe" -f "C:\app\browser\tor\Tor Browser\Browser\TorBrowser\Data\Tor\torrc" --Log "notice stdout"
5. Launch the tor browser normally:
"C:\app\browser\tor\Tor Browser\Start Tor Browser.lnk"
TARGET: "C:\app\browser\tor\Tor Browser\Browser\firefox.exe"
STARTIN: "C:\app\browser\tor\Tor Browser"
HINT: Write the location of the torrc file into the link comment
so the future you won't waste time looking for it to edit.
--
Just one person on Usenet paying it forward so all benefit daily.