Configuring a Tor server


The Tor network relies on volunteers to donate bandwidth. If you have at least 20 kilobytes/s each way, please help out Tor by configuring your Tor to be a server too. Having servers in many different pieces of the Internet gives users more robustness against curious telcos and brute force attacks. You may also get stronger anonymity, since your destination can't know whether connections relayed through your computer originated at your computer or not.

Setting up a Tor server is easy and convenient:


Step Zero: Download and Install Tor and Privoxy


Before you start, you need to make sure that Tor is up and running.

For Windows users, this means at least step one of the Windows Tor installation howto. Mac OS X users need to do at least step one of OS X Tor installation howto. Linux/BSD/Unix users should do at least step one of the Unix Tor installation howto.

If it's convenient, you might also want to use it as a client for a while to make sure it's actually working.


Step One: Set it up as a server



Step Two: Make sure it's working


As soon as your server manages to connect to the network, it will try to determine whether the ports you configured are reachable from the outside. This may take several minutes. The log entries will keep you informed of its progress.

When it decides that it's reachable, it will upload a "server descriptor" to the directories. This will let other clients know what address, ports, keys, etc your server is using. You can load the directory manually and look through it to find the nickname you configured, to make sure it's there. You may need to wait a few seconds to give enough time for it to make a fresh directory.

  • Once you are convinced it's working, Register your server. Send mail to tor-ops@freehaven.net with a subject of '[New Server] <your server's nickname>' and include the following information in the message:
    • Your server's nickname
    • The fingerprint for your server's key (the contents of the "fingerprint" file in your DataDirectory -- on Windows, look in \username\Application Data\tor\ or \Application Data\tor\; on OS X, look in /Library/Tor/var/lib/tor/; and on Linux/BSD/Unix, look in /var/lib/tor or ~/.tor)
    • Who you are, so we know whom to contact if a problem arises
    • What kind of connectivity the new server will have
    If you like, sign your mail using PGP.
    Registering your server reserves your nickname so nobody else can take it, and lets us contact you if you need to upgrade or something goes wrong.

  • Step Three: Once it's working


    Optionally, we recommend the following steps as well:

    When you change your Tor configuration, be sure to restart Tor, and remember to verify that your server still works correctly after the change.

    If you have suggestions for improving this document, please post them on our bugtracker in the website category. Thanks!

    Webmaster - $Id$