How to setup a Tor relay or Tor bridge

18th June, 2009

For those in Iran. Here is a guide in Farsi for installing Tor so you can surf the web without censorship: http://greenoolo.pieceoftheworld.org/

IMPORTANT UPDATE (23/06/09): New email addresses have been added, and others updated. If you have Tor setup in bridge mode, resend your connection information to us.

IMPORTANT UPDATE #2: When posting in the comments section do not post your normal email address, do not use your name/alias (make up a new one) or post other personally identifiable information. This is very important.

UPDATE: slseveral sends this interesting read: http://blog.torproject.org/blog/measuring-tor-and-iran That might ease those wondering if we’re actually helping :)


What is Tor? (from https://www.torproject.org/)

“Tor protects you by bouncing your communications around a distributed network of relays run by volunteers all around the world: it prevents somebody watching your Internet connection from learning what sites you visit, and it prevents the sites you visit from learning your physical location. Tor works with many of your existing applications, including web browsers, instant messaging clients, remote login, and other applications based on the TCP protocol.”

This is something of great value to our friends in Iran.

Get Tor

https://www.torproject.org/easy-download.html.en

and install (detailed instructions Windows, Os X) (short version: double click install file)


Relay or Bridge?

A relay will be a proxy in the Tor network and help speed up the network for the people using it – a bridge, on the other hand, will enable people to reach the Tor network if the relays are blacklisted.

If you setup a bridge, you will need to get its address to the people that are going to use it (more on that later. Short: do not post it publicly, like in the comments below).

IMPORTANT: We’re going to need both sorts (mostly relays though), so please answer the poll (at the end) on which type you’ve set up. And if the type doesn’t matter to you, please check the poll to see how others have chosen and balance it up.


Relay:

(from https://www.torproject.org/docs/tor-doc-relay.html.en#setup)

  • Right click on the Vidalia icon in your task bar. Choose Control Panel.
  • Click Setup Relaying.
  • Choose Relay Traffic for the Tor network.
  • Enter a nickname for your relay. (Optional, enter contact information.)
  • Change ports from the default ports (needs to be >1024 on Os X and Linux/Unix)
  • If you have UPnP: Choose Attempt to automatically configure port forwarding. Push the Test button to see if it works. If it does work, great. If not, see “Firewall/router” below.
  • Choose the Bandwidth Limits tab. Select how much bandwidth you want to provide for Tor users like yourself.
  • Choose the Exit Policies tab. If you want to allow others to use your relay for these services, don’t change anything. Un-check the services you don’t want to allow through your relay. If you want to be a non-exit relay, un-check all services.
  • Click the Ok button. See “Check if it works” below for confirmation that the relay is working correctly.

Firewall/Router:

If you are using a firewall, open a hole in your firewall/router so incoming connections can reach the ports you configured (Relay Port (plus Directory Port if you enabled it)). Make sure you allow all outgoing connections, so your relay can reach the other Tor relays.

Check if it works:

Restart your relay. If it logs any warnings, address them. Look at the updates at the end of the post for help resolving issues that arise.

As soon as your relay manages to connect to the network, it will try to determine whether the ports you configured are reachable from the outside. This may take up to 20 minutes. Look for a log entry like Self-testing indicates your ORPort is reachable from the outside. Excellent. If you don’t see this message, it means that your relay is not reachable from the outside — you should re-check your firewalls, check that it’s testing the IP and port you think it should be testing, etc.

Problems?

And now what?

Well, congratulations, this is it. People can now surf the internet without fear of filtering/blocking or surveillance. Collect your karma points and continue following https://twitter.com/#search?q=%23IranElection or http://www.huffingtonpost.com/2009/06/13/iran-demonstrations-viole_n_215189.html


Bridge:

  • Right click on the Vidalia icon in your task bar. Choose Control Panel.
  • Click Setup Relaying.
  • Click Help censored users reach the Tor network
  • Enter a nickname for your relay. (Optional, enter contact information.)
  • Change ports from the default ports (needs to be >1024 on Os X and Linux/Unix)
  • If you have UPnP: Choose Attempt to automatically configure port forwarding. Push the Test button to see if it works. If it does work, great. If not, see “Firewall/router” below.
  • Choose the Bandwidth Limits tab. Select how much bandwidth you want to provide for Tor users like yourself.
  • Click the Ok button. See “Check if it works” below for confirmation that the bridge is working correctly.
  • Now scroll down to “Get the address to those that need it” and follow the instructions. Do NOT publish your connection information in the comments.

Firewall/Router:

If you are using a firewall, open a hole in your firewall/router so incoming connections can reach the ports you configured (Relay Port (plus Directory Port if you enabled it)). Make sure you allow all outgoing connections, so your relay can reach the other Tor relays.

Check if it works:

Restart your bridge. If it logs any warnings, address them. Look at the updates at the end of the post for help resolving issues that arise.

As soon as your bridge manages to connect to the network, it will try to determine whether the ports you configured are reachable from the outside. This may take up to 20 minutes. Look for a log entry like Self-testing indicates your ORPort is reachable from the outside. Excellent. If you don’t see this message, it means that your relay is not reachable from the outside — you should re-check your firewalls, check that it’s testing the IP and port you think it should be testing, etc.

Problems?

Get that address to those that need it (IMPORTANT)

After successfully setting up the bridge, click “Setup Relay” and you will see your IP port and a string of chars, this is your bridge address.

Your bridge address is not posted publicly, you need to get it to those that need it.

Email this bridge address to anonygreen@gmail.com, gr88proxies@googlegroups.com, tor@austinheap.com, irancurtain@iansbrain.com and protesterhelp@gmail.com or Direct Message (private message) in Twitter to @iran09, @austinheap, @protesterhelp, @persiankiwi or @stopahmadi. If you email be sure to include “Tor bridge” in the subject line.


And now what?

Well, congratulations, this is it. People can now surf the internet without fear of filtering/blocking or surveillance. Collect your karma points and continue following https://twitter.com/#search?q=%23IranElection or http://www.huffingtonpost.com/2009/06/13/iran-demonstrations-viole_n_215189.html


Poll:


Update 1:
GeoIP error:

Ian Says:

19th June, 2009 at 02:38 |

download this http://git.torproject.org/checkout/tor/master/src/config/geoip and put it in C:\Documents and Settings\{username}\Application Data\Tor\

Open ports in the router:

Carl Says:

21st June, 2009 at 13:01 |

Then you need to forward that port from your router to your computer.

See: http://portforward.com/ for info and howto:s

Update2:
DNS hijacking
:

From David and slseveral:

http://dnsresolvers.com/ got me past the hijacking errors (Verizon FIOS DNS servers.)

Update3:
DIR Port not reachable, but OR port is.

Boogs says:
“THE SOLUTION, at least for me, was to download the latest unstable version at http://www.torproject.org/download.html.en and presto, now everything works just like it should. There must be a bug in the latest stable version.”


How can you help, 2nd edition.

Talk to friends and spread the word of the Iranian struggle for freedom. Refer them to this guide if you think it was good.

If you know Farsi, please help translate

https://www.torproject.org/docs/tor-doc-windows.html.en

https://www.torproject.org/docs/tor-doc-osx.html.en

About these ads

218 Responses to “How to setup a Tor relay or Tor bridge”

  1. mica said

    newbie here.. i’d like to be a part of this awesome proj.. but i don’t really know how this things works e.g. where to give my bridge and how to get and apply bridge, i prefer bridge..thanks

  2. really like your wp web template, do you down load it from? Thankyou in advance!

  3. okaiandrews said

    i have installed tor but authentication failed

    what would i do

  4. LJ Smith said

    1.usajobs is blocking tor: “You are not authorized to view this page” , “HTTP Error 403.6 – Forbidden: IP address of the client has been rejected. Internet Information Services (IIS)”
    2. Vidalia wont let me use bridges:”Vidalia was unable to apply you Network settings to Tor” , “Unacceptable Option Value: Servers must be able to freely connect to the rest of the Internet, so they muayt not set UseBridges

    I am still a newbie at this! Trying to figure this out on my own Needs lots of help.

  5. hehh2001 said

    get bridges

  6. mustafa said

    hi i want to danlowd tor project and this is may adres http://www.mustafa.mir69@yahoo.com

  7. [...] identity protection and detection avoidance. Topics include: How to setup a web proxy server, How to set up a Tor relay, Tactical LAN Management, Communication in Repressive Environments, and Communications in a ’Come [...]

  8. [...] identity protection and detection avoidance. Topics include: How to setup a web proxy server, How to set up a Tor relay, Tactical LAN Management, Communication in Repressive Environments, and Communications in a ’Come [...]

  9. Dima said

    please send me new bridge info

  10. These types of became wonderful all over again work outs that means that we can relax all the back and likewise sleep the right way without the encounter about pressure as part of your yet again.

  11. [...] UPDATE (23/06/09): New email addresses have been added, and others updated. If you have Tor setup in bridge mode, resend your connection [...]

  12. We can also replace are table lamps with that one as
    it looking good and increases the grace of room also. With
    the same appliance you can provide comfort as
    well as light the room with it. The blades of the fan can also offer
    a classy or sophisticated look, as they come in many different finishes and designs as well.

  13. Hey there, I’m a new blogger coming from Aschaffenburg, Germany who found you on http://anonygreen.wordpress.com/2009/06/18/how-to-setup-a-tor-relay-or-tor-bridge/comment-page-4/. Would you have any advice for those exploring blogging? I’m planning to launch my own site very soon but I’m a bit lost on everything. Do you believe I should start out with a free site like PivotX or invest some money into a pay site? I’m faced with so many
    options and it’s all so overwhelming… What would you say?

  14. tonners said

    Compatible printer ink cartridges are made by third parties under license.
    Yet people seem to experience a countless problems with the
    ink jet printers and begin to try to figure out why it’s not functioning. That was easily sorted and also I have not had a single problem along with it since.

  15. seomix said

    I think the admin of this website is truly working hard in support of his web site,
    as here every material is quality based information.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: