mirror of
https://github.com/torproject/webwml.git
synced 2025-02-13 06:10:47 +00:00
move the manual config above vidalia for users coming from the unix
directions.
This commit is contained in:
parent
d8551c3a70
commit
bbff1b3410
@ -8,13 +8,13 @@
|
||||
<a href="<page index>">Home » </a>
|
||||
<a href="<page docs/documentation>">Documentation » </a>
|
||||
<a href="<page docs/tor-doc-relay>">Configure Tor Relay</a>
|
||||
</div>
|
||||
<div id="maincol">
|
||||
</div>
|
||||
<div id="maincol">
|
||||
|
||||
<h1>Configuring a Tor relay</h1>
|
||||
|
||||
|
||||
<hr>
|
||||
|
||||
|
||||
<p>
|
||||
The Tor network relies on volunteers to donate bandwidth. The more
|
||||
people who run relays, the faster the Tor network will be. If you have
|
||||
@ -24,28 +24,28 @@
|
||||
for bandwidth, exit policies so you can limit your exposure to abuse
|
||||
complaints, and support for dynamic IP addresses</a>.
|
||||
</p>
|
||||
|
||||
|
||||
<p>You can run a Tor relay on <a href="<wikifaq>#RelayOS">pretty
|
||||
much any</a> operating system. Tor relays work best on Linux, OS X Tiger
|
||||
or later, FreeBSD 5.x+, NetBSD 5.x+, and Windows Server 2003 or later.
|
||||
</p>
|
||||
|
||||
|
||||
<hr>
|
||||
<a id="zero"></a>
|
||||
<a id="install"></a>
|
||||
<h2><a class="anchor" href="#install">Step One: Download and Install Tor</a></h2>
|
||||
<br>
|
||||
|
||||
|
||||
<p>Before you start, you need to make sure that Tor is up and running.
|
||||
</p>
|
||||
|
||||
|
||||
<p>Visit our <a href="<page download/download>">download page</a> and
|
||||
install the "Installation Bundle" for your OS.
|
||||
</p>
|
||||
|
||||
|
||||
<p>If it's convenient, you might also want to use it as a client for a
|
||||
while to make sure it's actually working.</p>
|
||||
|
||||
|
||||
<hr>
|
||||
<a id="setup"></a>
|
||||
<h2><a class="anchor" href="#setup">Step Two: Set it up as a relay</a></h2>
|
||||
@ -56,47 +56,7 @@
|
||||
href="http://en.wikipedia.org/wiki/Network_Time_Protocol">time
|
||||
servers</a>.
|
||||
</li>
|
||||
|
||||
<li><strong>Configuring Tor with the Vidalia Graphical Interface</strong>:
|
||||
<ol>
|
||||
|
||||
<li>
|
||||
<dt>Right click on the Vidalia icon in your task bar. Choose <tt>Control Panel</tt>.</dt>
|
||||
<dd><img alt="vidalia right click menu" src="$(IMGROOT)/screenshot-win32-vidalia.png"></dd>
|
||||
</li>
|
||||
|
||||
<li>Click <tt>Setup Relaying</tt>.</li>
|
||||
|
||||
<li>
|
||||
<dt>Choose <tt>Relay Traffic for the Tor network</tt> if you
|
||||
want to be a public relay (recommended), or choose <tt>Help
|
||||
censored users reach the Tor network</tt> if you want to be a <a
|
||||
href="<wikifaq>#RelayOrBridge">bridge</a> for users in countries that censor their Internet.</dt>
|
||||
<dd><img alt="vidalia basic settings" src="$(IMGROOT)/screenshot-win32-configure-relay-1.png"></dd>
|
||||
</li>
|
||||
|
||||
<li>Enter a nickname for your relay, and enter contact information in
|
||||
case we need to contact you about problems.</li>
|
||||
|
||||
<li>Leave <tt>Attempt to automatically configure port forwarding</tt> clicked.
|
||||
Push the <tt>Test</tt> button to see if it works. If it does work, great.
|
||||
If not, see number 3 below.</li>
|
||||
|
||||
<li><dt>Choose the <tt>Bandwidth Limits</tt> tab. Select how much bandwidth you want to provide for Tor users like yourself.</dt>
|
||||
<dd><img alt="vidalia bandwidth limits" src="$(IMGROOT)/screenshot-win32-configure-relay-2.png"></dd>
|
||||
</li>
|
||||
|
||||
<li><dt>Choose the <tt>Exit Policies</tt> 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 people to <a href="<wikifaq>#ExitPolicies">reach from your relay</a>. If you want to be a non-exit relay, un-check all services.</dt>
|
||||
<dd><img alt="vidalia exit policies" src="$(IMGROOT)/screenshot-win32-configure-relay-3.png"></dd>
|
||||
</li>
|
||||
|
||||
<li>Click the <tt>Ok</tt> button. See Step Three below for confirmation
|
||||
that the relay is working correctly.</li>
|
||||
</ol>
|
||||
|
||||
<br>
|
||||
|
||||
<strong>Manual Configuration</strong>:
|
||||
<ul>
|
||||
<li>Edit the bottom part of <a href="<wikifaq>#torrc">your torrc file</a>. If you want to be a public relay (recommended),
|
||||
@ -105,9 +65,47 @@ href="<wikifaq>#RelayOrBridge">bridge</a> for users in countries that censor the
|
||||
for users in countries that censor their Internet,
|
||||
just use <a href="<page docs/bridges>#RunningABridge">these lines</a>.
|
||||
</li>
|
||||
|
||||
</ul></li>
|
||||
|
||||
</ul>
|
||||
|
||||
<li><strong>Configuring Tor with the Vidalia Graphical Interface</strong>:
|
||||
<ol>
|
||||
|
||||
<li>
|
||||
<dt>Right click on the Vidalia icon in your task bar. Choose <tt>Control Panel</tt>.</dt>
|
||||
<dd><img alt="vidalia right click menu" src="$(IMGROOT)/screenshot-win32-vidalia.png"></dd>
|
||||
</li>
|
||||
|
||||
<li>Click <tt>Setup Relaying</tt>.</li>
|
||||
|
||||
<li>
|
||||
<dt>Choose <tt>Relay Traffic for the Tor network</tt> if you
|
||||
want to be a public relay (recommended), or choose <tt>Help
|
||||
censored users reach the Tor network</tt> if you want to be a <a
|
||||
href="<wikifaq>#RelayOrBridge">bridge</a> for users in countries that censor their Internet.</dt>
|
||||
<dd><img alt="vidalia basic settings" src="$(IMGROOT)/screenshot-win32-configure-relay-1.png"></dd>
|
||||
</li>
|
||||
|
||||
<li>Enter a nickname for your relay, and enter contact information in
|
||||
case we need to contact you about problems.</li>
|
||||
|
||||
<li>Leave <tt>Attempt to automatically configure port forwarding</tt> clicked.
|
||||
Push the <tt>Test</tt> button to see if it works. If it does work, great.
|
||||
If not, see number 3 below.</li>
|
||||
|
||||
<li><dt>Choose the <tt>Bandwidth Limits</tt> tab. Select how much bandwidth you want to provide for Tor users like yourself.</dt>
|
||||
<dd><img alt="vidalia bandwidth limits" src="$(IMGROOT)/screenshot-win32-configure-relay-2.png"></dd>
|
||||
</li>
|
||||
|
||||
<li><dt>Choose the <tt>Exit Policies</tt> 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 people to <a href="<wikifaq>#ExitPolicies">reach from your relay</a>. If you want to be a non-exit relay, un-check all services.</dt>
|
||||
<dd><img alt="vidalia exit policies" src="$(IMGROOT)/screenshot-win32-configure-relay-3.png"></dd>
|
||||
</li>
|
||||
|
||||
<li>Click the <tt>Ok</tt> button. See Step Three below for confirmation
|
||||
that the relay is working correctly.</li>
|
||||
</ol>
|
||||
|
||||
<li>If you are using a firewall, open a hole in your firewall
|
||||
so incoming connections can reach the ports you configured
|
||||
(ORPort, plus DirPort if you enabled it). If you have a
|
||||
@ -116,12 +114,12 @@ href="<wikifaq>#RelayOrBridge">bridge</a> for users in countries that censor the
|
||||
allow all <em>outgoing</em> connections too, so your relay can reach the
|
||||
other Tor relays.
|
||||
</li>
|
||||
|
||||
|
||||
<li>Restart your relay. If it <a
|
||||
href="<wikifaq>#Logs">logs
|
||||
any warnings</a>, address them.
|
||||
</li>
|
||||
|
||||
|
||||
<li>Subscribe to the <a
|
||||
href="http://archives.seul.org/or/announce/">or-announce</a>
|
||||
mailing list. It is very low volume, and it will keep you informed
|
||||
@ -129,14 +127,14 @@ href="<wikifaq>#RelayOrBridge">bridge</a> for users in countries that censor the
|
||||
href="<page docs/documentation>#MailingLists">the higher-volume Tor lists</a>
|
||||
too.
|
||||
</li>
|
||||
|
||||
|
||||
</ol>
|
||||
|
||||
|
||||
<hr>
|
||||
<a id="check"></a>
|
||||
<h2><a class="anchor" href="#check">Step Three: Make sure it is working</a></h2>
|
||||
<br>
|
||||
|
||||
|
||||
<p>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 step is usually fast, but may take up to 20
|
||||
@ -148,7 +146,7 @@ href="<wikifaq>#RelayOrBridge">bridge</a> for users in countries that censor the
|
||||
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.
|
||||
</p>
|
||||
|
||||
|
||||
<p>When it decides that it's reachable, it will upload a "server
|
||||
descriptor" to the directories, to let clients know
|
||||
what address, ports, keys, etc your relay is using. You can <a
|
||||
@ -157,28 +155,28 @@ href="<wikifaq>#RelayOrBridge">bridge</a> for users in countries that censor the
|
||||
look through it to find the nickname you configured, to make sure it's
|
||||
there. You may need to wait up to one hour to give enough time for it to
|
||||
make a fresh directory.</p>
|
||||
|
||||
|
||||
<hr>
|
||||
<a id="after"></a>
|
||||
<h2><a class="anchor" href="#after">Step Four: Once it is working</a></h2>
|
||||
<br>
|
||||
|
||||
|
||||
<p>
|
||||
We recommend the following steps as well:
|
||||
</p>
|
||||
|
||||
|
||||
<p>
|
||||
6. Read
|
||||
<a href="<wiki>TheOnionRouter/OperationalSecurity">about operational security</a>
|
||||
to get ideas how you can increase the security of your relay.
|
||||
</p>
|
||||
|
||||
|
||||
<p>
|
||||
7. If you want to run more than one relay that's great, but please set <a
|
||||
href="<wikifaq>#MultipleRelays">the
|
||||
MyFamily option</a> in all your relays' configuration files.
|
||||
</p>
|
||||
|
||||
|
||||
<p>
|
||||
8. Decide about rate limiting. Cable modem, DSL, and other users
|
||||
who have asymmetric bandwidth (e.g. more down than up) should
|
||||
@ -186,7 +184,7 @@ href="<wikifaq>#RelayOrBridge">bridge</a> for users in countries that censor the
|
||||
href="<wikifaq>#LimitBandwidth">rate
|
||||
limiting FAQ entry</a> for details.
|
||||
</p>
|
||||
|
||||
|
||||
<p>
|
||||
9. Back up your Tor relay's private key (stored in "keys/secret_id_key"
|
||||
in your DataDirectory). This is your relay's "identity," and
|
||||
@ -195,9 +193,9 @@ href="<wikifaq>#RelayOrBridge">bridge</a> for users in countries that censor the
|
||||
href="<wikifaq>#UpgradeRelay">move
|
||||
or restore your Tor relay</a> if something goes wrong.
|
||||
</p>
|
||||
|
||||
|
||||
<p>
|
||||
|
||||
|
||||
10. If you control the name servers for your domain, consider setting your
|
||||
reverse DNS hostname to 'anonymous-relay', 'proxy' or 'tor-proxy', so when
|
||||
other people see the address in their web logs, they will more quickly
|
||||
@ -205,9 +203,9 @@ href="<wikifaq>#RelayOrBridge">bridge</a> for users in countries that censor the
|
||||
href="<gitblob>contrib/tor-exit-notice.html">Tor
|
||||
exit notice</a> on a vhost for this name can go a long way to deterring abuse
|
||||
complaints to you and your ISP if you are running an exit node.
|
||||
|
||||
|
||||
</p>
|
||||
|
||||
|
||||
<p>
|
||||
11. If your computer isn't running a webserver, please consider
|
||||
changing your ORPort to 443 and your DirPort to 80. Many Tor
|
||||
@ -222,7 +220,7 @@ href="<wikifaq>#RelayOrBridge">bridge</a> for users in countries that censor the
|
||||
using ports 80 and 443 already but still want to help out, other useful
|
||||
ports are 22, 110, and 143.
|
||||
</p>
|
||||
|
||||
|
||||
<p>
|
||||
12. If your Tor relay provides other services on the same IP address
|
||||
— such as a public webserver — make sure that connections to the
|
||||
@ -233,7 +231,7 @@ href="<wikifaq>#RelayOrBridge">bridge</a> for users in countries that censor the
|
||||
at your relay. If you don't want to allow the connections, you must
|
||||
explicitly reject them in your exit policy.
|
||||
</p>
|
||||
|
||||
|
||||
<p>
|
||||
13. (Unix only). Make a separate user to run the relay. If you
|
||||
installed the OS X package or the deb or the rpm, this is already
|
||||
@ -244,7 +242,7 @@ href="<wikifaq>#RelayOrBridge">bridge</a> for users in countries that censor the
|
||||
href="<wiki>TheOnionRouter/TorInChroot">put Tor
|
||||
into a chroot jail</a>.)
|
||||
</p>
|
||||
|
||||
|
||||
<p>
|
||||
14. (Unix only.) Your operating system probably limits the number
|
||||
of open file descriptors per process to 1024 (or even less). If you
|
||||
@ -254,13 +252,13 @@ href="<wikifaq>#RelayOrBridge">bridge</a> for users in countries that censor the
|
||||
Tor process), and then restart Tor if it's installed as a package (or log
|
||||
out and log back in if you run it yourself).
|
||||
</p>
|
||||
|
||||
|
||||
<p>
|
||||
15. If you installed Tor via some package or installer, it probably starts
|
||||
Tor for you automatically on boot. But if you installed from source,
|
||||
you may find the initscripts in contrib/tor.sh or contrib/torctl useful.
|
||||
</p>
|
||||
|
||||
|
||||
<p>
|
||||
When you change your Tor configuration, remember to verify that your
|
||||
relay still works correctly after the change. Be sure to set your
|
||||
@ -270,9 +268,9 @@ href="<wikifaq>#RelayOrBridge">bridge</a> for users in countries that censor the
|
||||
<a href="<page about/contact>">contact us</a> on the tor-ops list. Thanks
|
||||
for helping to make the Tor network grow!
|
||||
</p>
|
||||
|
||||
|
||||
<hr>
|
||||
|
||||
|
||||
<p>If you have suggestions for improving this document, please <a
|
||||
href="<page about/contact>">send them to us</a>. Thanks!</p>
|
||||
</div>
|
||||
@ -284,4 +282,4 @@ href="<wikifaq>#RelayOrBridge">bridge</a> for users in countries that censor the
|
||||
<!-- END SIDECOL -->
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
#include <foot.wmi>
|
||||
#include <foot.wmi>
|
||||
|
Loading…
x
Reference in New Issue
Block a user