17

I just got finished a few weeks ago setting up my torrc to require connections to U.S. ExitNodes. I just used Vidalia to get into the "Tor Configuration File", and edited that. Worked great. Now I've downloaded the new Tor bundle (3.5) and, whoah, Vidalia is gone, and my ExitNodes are no longer constrained in the same way. This new version of Tor pulls random international ExitNodes. Until I figure out how to change ExitNodes in the new Tor, I'm going to stick with the old one, which still works properly.

I gather the new Tor isn't looking at the original torrc. How, in the new Tor do I access the new configuration file?

Andrew Lott
  • 2,754
  • 5
  • 29
  • 46
user618
  • 281
  • 2
  • 3
  • 4

2 Answers2

12

Tor Browser Bundle uses the Data/Tor/torrc file inside its own directory.

From Tor Project FAQ:

If you installed Tor Browser Bundle, look for Data/Tor/torrc inside your Tor Browser Bundle directory.

Core Tor puts the torrc file in /usr/local/etc/tor/torrc if you compiled Tor from source, and /etc/tor/torrc or /etc/torrc if you installed a pre-built package.

You should be able to set your exit node country to U.S. by adding the following to torrc file:

ExitNodes {us}

Roya
  • 3,240
  • 3
  • 19
  • 40
gacar
  • 940
  • 5
  • 11
2

Tor browser now uses ./Data/Tor/torrc-defaults. In ./Data/Tor/torrc, there's the warning:

This file was generated by Tor; if you edit it, comments will not be preserved
The old torrc file was renamed to torrc.orig.1 or similar, and Tor will ignore it

This is somewhat confusing, because in the manual, I see:

--defaults-torrc FILE

Specify a file in which to find default values for Tor options. The contents of this file are overridden by those in the regular configuration file, and by those on the command line. (Default: @CONFDIR@/torrc-defaults.)

But actually, that's the case in the Tor browser. It's just that "the regular configuration file" aka ./Data/Tor/torrc is "generated by Tor", and doesn't preserve edits.

mirimir
  • 3,017
  • 1
  • 19
  • 29