Tor Exit Node Configuration
So you want to install Tor and help out the world, like those oppressed by the Great Firewall of China, but you don't want to get your IP blacklisted or autoblocked from Wikipedia? There is a solution, called an Exit Policy. Simply put, this allows you to restrict traffic based on IP or Port numbers.
Assuming you've installed what is called the "vidalia bundle", (and assuming you are running Windows) you will have a new option in your start menu for Vidalia Bundle. Under this is a folder called Tor, and in this folder is a text file called torrc. Click on it.
The IPs for the Wikimedia Foundation are 91.198.174.232 and – 208.80.152.2.
If you don't understand what that means, don't worry. You don't have to. :)
At the bottom of this document we opened, "torrc", we are going to add the following lines:
ExitPolicy reject 91.198.174.232:* ExitPolicy reject 208.80.152.2:*
Make sure that there is no # sign in front of the line, and save the change. Note this only stops potential abuse from your IP to Wikipedia. Other websites may still be affected.*
Note that if you are looking to use Tor yourself to access Wikipedia from a restricted location, pleas see w:Wikipedia:Advice to users using Tor to bypass the Great Firewall
See also: Editing with Tor
*If you also use IRC, you will want to block all connections to freenode as well. (If you don't, your IP will get banned until you stop running tor.) This can be done with the following:
ExitPolicy reject 213.232.93.3 ExitPolicy reject 140.211.166.3 ExitPolicy reject 213.92.8.4 ExitPolicy reject 82.96.64.4 ExitPolicy reject 78.40.125.4 ExitPolicy reject 140.211.166.4 ExitPolicy reject 213.161.196.11 ExitPolicy reject 86.65.39.15 ExitPolicy reject 38.229.70.20 ExitPolicy reject 208.71.169.36 ExitPolicy reject 193.219.128.49 ExitPolicy reject 213.179.58.83 ExitPolicy reject 128.237.157.136 ExitPolicy reject 130.239.18.172 ExitPolicy reject 130.237.188.200
*There is a hidden service of freenode for those using Tor ;) See freenode - Tor.