configure tor to use a specific country as an exit node

Wave748

Professional
Messages
286
Reputation
16
Reaction score
28
Points
28
Found this while looking around for a solution on being on third world country ips. +1 if you found this to be useful.
--------------------------------------------------------------------------------

Many Internet services offer access to their services only if you are visiting the websites or applications from certain countries. IPs, and sometimes more variables like the system time, are checked when a user wants to access a country restricted service. If the IP is located in an allowed country access is allowed, otherwise it is rejected.

Many workarounds exist that help users access those services even if they are currently residing in a different country. One possibility that I would like to explain today is to configure Tor that way that the exit node lies in the country that you want to access the service in. Tor offers lots of so called nodes which are servers in a specific country running the Tor software.

I’m using Vidalia, a package that contains all necessary programs, to explain how a specific country can be selected when using Tor. Download Vidalia and install the software afterwards. The main program interface should load after the installation.



The control panel is displaying the current status of Tor. Additional information are displayed which we are going to use to find servers located in the country that we need an IP address from. A click on View the network displays a visual representation of all Tor servers but only if Tor is running.

Servers can be sorted by country flag and do have a performance indicator next to them as well. Write down some server names with the best performance and leave the menu again. We need to add those servers as exit nodes to the Tor configuration. A click on Settings and there on the advanced tab displays a menu where you find the entry Tor Configuration Menu.

A click on browse opens the browse for files dialog. Left-click on the file “torrc” and choose edit from that menu. Now add the following two lines to the configuration, just paste it at the beginning for instance:

ExitNodes server1, server2, server3
StrictExitNodes 1

Replace server1, server 2 and so on with the server names that you have written down in the network display window. Stop and restart Tor afterwards and the changes should have been made.

Now we have to add a http proxy to our browser. Firefox users click on Tools > Options > Advanced Network and there on the button Settings. Select Manual Proxy Configuration and enter localhost and port 8118 there.



You can test if everything is working fine by visiting my IP lookup script which should display a IP from the country that you have selected the servers from.
 

Arkos

Carder
Messages
65
Reputation
5
Reaction score
7
Points
8
If you want to exit from a specific country,

Download the geoip file from
Code:
http://git.torproject.org/checkout/tor/master/src/config/geoip

to your Tor data directory.

Edit torrc. Add the following two lines.
GeoIPFile C:\whatever\your\path\is\geoip
ExitNodes {NL}

That would be for Holland. If you want America, "US" etc. Know your country codes.
 

pacm@n

Professional
Messages
152
Reputation
16
Reaction score
16
Points
18
This method configures browsers only, i assume?
 

Sir

BANNED
Messages
42
Reputation
10
Reaction score
13
Points
8
Very useful tutorial, thank you! I think more people need to understand how powerful Tor is, especially ones who don't yet have access to services that aren't open sourced. A secured Tor circuit, spoofed MAC address, borrowed WIFI, and Truecrypt, give and take extra programs like CCleaner/Firefox add-ons, is perhaps the best (re: cheapest and most easily accessible) defense against any computer forensic.

Have some rep :)
 

Wave748

Professional
Messages
286
Reputation
16
Reaction score
28
Points
28
Yay, I definetly appreciate it and anything I find resourceful I will post.Like I've said to people before, knowledge needs to be shared with like minded people =P
 

fokuspokus

BANNED
Messages
118
Reputation
2
Reaction score
9
Points
18
Please note, if you want to make a deal with this user, that it is blocked.
great info! thanks
 
Top