How to get US IP addresses with TOR

Harris05

Newbie
Joined
Mar 11, 2008
Messages
13
Reaction score
9
There are some sites that require you to have an IP from a specific country, but the default setting on TOR chooses a random proxy as the last relay in the chain, giving you a random country IP address. There is an easy way to select a specific country of origin for your observed IP.

Note: This method requires that you have the Vidalia package.

1) Make sure that Vidalia and TOR are up and Running
2) Open up the Network Map feature of Vidalia by right clicking the quicklaunch(windows) and choosing Network Map
3) In the left hand corner there should be a list of relays listed by their bandwidth, click on one of the relays with the U.S. flag next to it at the top (or whatever country IP you want).
4) This should give you some information about it, such the city, bandwidth, and IP address.
5) Write down several of the relay nicknames from the U.S. with the highest bandwidth. The nicknamess are listed on the left under the title relay.
6) Now, in order to change the TOR settings so that it will use these proxies as the last one in the chain, you will need to change the TOR configuration file. You can find it in Windows by pressing the start button>All Programs> Vidalia Bundle>Tor>TORRC It's a notebook file. Open it up.
7) Before you change this file, make a copy of it in case you screw something up.
8)Then write this command, replacing the italicized nickname with the nicknames you wrote down(don't include quotation marks): ?ExitNodes nickname,nickname,...?
9)This will make TOR want to choose these exit relays unless they are down or really slow. You can add the command ?StrictEntryNodes 0|1? I've never used this command because if TOR doesn't select your chosen exit points, they are too slow to use anyways. But this command could be useful.
 
Nice post.

I can not find italicized nickname in TORRC file ..:(

Any help will be appreciated...

Thanks
 
Nice post.

I can not find italicized nickname in TORRC file ..:(

Any help will be appreciated...

Thanks
Hi Denny,
You don't find the nicknames in the TORRC. You find them in the network map in vidalia. The exitnodes command isn't in the TORRC until you put it there. And you don't actually italicize the nicknames.
 
This is awesome information. This is almost like a free way to getting some of the benefits of a VPN.
 
The following is the config file once I enter in the command, but I'm getting an error msg... help?

#ExitNodes jalopy, desync, BostonUCompSci, whistlersmother, redpineapple, CH1rrSkur7, bettyboop, TorLuwakOrg, myrnaloy
# 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

# If set, Tor will accept connections from the same machine (localhost only)
# on this port, and allow those connections to control the Tor process using
# the Tor Control Protocol (described incontrol-spec.txt).
ControlPort 9051
HashedControlPassword 16:935018AC8F06F5DE609C4BF5F495A99095D44E53416D52C844903E8C19
# Where to send logging messages. Format is minSeverity[-maxSeverity]
# (stderr|stdout|syslog|file FILENAME).
Log notice stdout
# Bind to this address to listen to connections from SOCKS-speaking
# applications.
SocksListenAddress 127.0.0.1
 
Is there any way to get faster speeds out of TOR. It takes forever to load pages.
 
Where did you input this.. at the top?
I put the exitnodes command at the top of my TORRC, but I believe you can put the command anywhere in the document as long as you don't have a conflicting command.

The following is the config file once I enter in the command, but I'm getting an error msg... help?

#ExitNodes jalopy, desync, BostonUCompSci, whistlersmother, redpineapple, CH1rrSkur7, bettyboop, TorLuwakOrg, myrnaloy

You don't put a "#" before a command. It's used before a comment. The command should look like "Exitnodes jalopy, desyne, BostonUCompSci, ...."

Is there any way to get faster speeds out of TOR. It takes forever to load pages.

To speed up TOR go to this site:
http://wiki.noreply.org/noreply/TheOnionRouter/FireFoxTorPerf

You won't notice a big improvement until you go through all three steps. Before I implemented the speed up changes on this guide I was getting average download rates of 15kb/sec. Afterwards I get an average of 75 kb/s, though it varies considerably from 20/kb/sec to 200 kb/sec.

Here is an example of the exitnodes command that will choose the 5 fastest servers in the U.S. (at least for me) You can just copy and past this code into your torrc at the top. Make sure you save it first.
Code:
ExitNodes jalopy, desync, BostonUCompSci, whistlersmother, CH1rrSkur7
You will have to changes these servers based on your location, if you want a different country for your IP, or when these servers drop off the grid. Also, you may want to increase the number of servers by adding a few more nicknames.
 
Five-Star Post, guy, this was very well-done.

Just to add a little bit, though. There are many nodes that don't have set nicknames, so they default to 'Unnamed'. This isn't terrible, but if you copy all the US exit nodes' nicknames, you're gonna have a crapload of Unnamed's in your nickname set. This is gonna cause a few nodes to probably never be found, but there's a pretty simple mod to your instructions to make things click better.

In step 5, don't write them down. Sort the list of nodes by country, and click the first US node, and Shift+Click the last US node (selecting all of them). Right-Click on one of the selected, then Copy -> Fingerprint(s).

Now in step 8, we're gonna use the same syntax that he did. It'll look like "ExitNodes $Fingerprint1,$Fingerprint2,..." where the list of fingerprints is exactly what's copied to your clipboard, so just paste it there. The dollar sign is part of the fingerprints that you copied, so just paste it and trust me, it'll turn out just right. It's gonna be a huge messy string, but it'll work perfectly, and no nodes will go untapped.

Cheers.
 
This is awesome information. This is almost like a free way to getting some of the benefits of a VPN.

Yes. It will be slower though since you're moving traffic through 3 hops instead of 1. But still a good free way to cover your ip.
 
Thanks OP for info, but be on the alert guys, that TOR is being overused, so don't use
it to open any kind of account online.
 
Great info.

Only problem is that when using a static exit node like that, it'll mean that all your traffic gets routed through them. Since the main flaw with TOR in general is the possibility that it's using a hostile exit node, if you pick the wrong one all your traffic will get sniffed. So no passwords, personal info, etc. can be used safely unless you use an exit node you know to be safe.
 
Great info.

Only problem is that when using a static exit node like that, it'll mean that all your traffic gets routed through them. Since the main flaw with TOR in general is the possibility that it's using a hostile exit node, if you pick the wrong one all your traffic will get sniffed. So no passwords, personal info, etc. can be used safely unless you use an exit node you know to be safe.

I can't say I've ever had to worry about this too much. Whenever I'm doing blackhat magic, it never involves money or anything traceable to me.
Wit that being said, I can still feel pretty safe just by configuring Tor's default extensions. HTTPS Everywhere will help protect against malicious nodes, although ssl can be spoofed. Disabling all swfs and scripts on the page with NoScript will prevent any DOM code injections by the exit node as well. I'm not saying it's bulletproof, but I certainly feel comfortable enough to manage a collections of BH facebook profiles and whatnot.
 
OP, finding fingerprints for exit nodes is taking an unnecessarily long route. Just add this to your torrc file to exclude just about every country apart from the US:

Code:
[B]ExcludeNodes {be},{pl},{ca},{za},{vn},{uz},{ua},{tw},{tr},{th},{sk},{sg},{se},{sd},{sa},{ru},{ro},{pt},{ph},{pa},{nz},{np},
{no},{my},{mx},{md},{lv},{lu},{kr},{jp},{it},{ir},{il},{ie},{id},{hr},{hk},{gr},{gi},{gb},{fi},{es},{ee},{dk},{cz},{cy},{cr},{co},
{cn},{cl}, {ci},{ch},{by},{br},{bg},{au},{at},{ar},{aq},{ao}, {ae},{nl},{de},{fr}[/B]
 
Back
Top