d70a418283850c24eda000902c5345339dfa25b0
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

1) ## translation metadata
Roger Dingledine looks like we never set the...

Roger Dingledine authored 13 years ago

2) # Revision: $Revision$
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

3) # Translation-Priority: 2-medium
4) 
5) #include "head.wmi" TITLE="Tor Project: Relay Configuration Instructions" CHARSET="UTF-8"
6) <div id="content" class="clearfix">
7)   <div id="breadcrumbs">
Andrew Lewman change all of the breadcrum...

Andrew Lewman authored 13 years ago

8)     <a href="<page index>">Home &raquo; </a>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

9)     <a href="<page docs/documentation>">Documentation &raquo; </a>
10)     <a href="<page docs/tor-doc-relay>">Configure Tor Relay</a>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

11)   </div>
12)   <div id="maincol">
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

13) 
14)     <h1>Configuring a Tor relay</h1>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

15) 
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 13 years ago

16)     <hr>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

17) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

18)     <p>
19)     The Tor network relies on volunteers to donate bandwidth. The more
20)     people who run relays, the faster the Tor network will be. If you have
Roger Dingledine the minimum bandwidth for t...

Roger Dingledine authored 11 years ago

21)     at least 50 kilobytes/s each way, please help out Tor by configuring your
Roger Dingledine streamline instructions

Roger Dingledine authored 12 years ago

22)     Tor to be a relay too.
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

23)     </p>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

24) 
Damian Johnson Fixing/removing a few dead...

Damian Johnson authored 13 years ago

25)     <p>You can run a Tor relay on pretty much any operating system. Tor relays
26)     work best on Linux, OS X Tiger or later, FreeBSD 5.x+, NetBSD 5.x+, and
27)     Windows Server 2003 or later.
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

28)     </p>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

29) 
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

30)     <p>
31)     An easy way to get started is with Vidalia, a graphical interface for 
32)     Tor. Vidalia is not included in the standard Tor Browser Bundle, although it 
33)     <a href="https://www.torproject.org/docs/faq.html.en#WhereDidVidaliaGo">once 
34)     was</a>. You can use Vidalia as part of the preconfigured bundles, or as a 
35)     seperate program. 
36)     <p>
37) 
38)     <p>The Vidalia Bridge Bundle, the Vidalia Relay Bundle 
39)     and the Vidalia Exit Bundle can be found on the 
40)     <a href="https://www.torproject.org/download/download.html.en">download 
41)     page</a>. These packages are already configured to run Tor as a bridge, a
42)     non-exit relay, or an exit relay. These bundles are only available for 
43)     Windows.
44)     </p>
45) 
46)     <p>
47)     If you are not the using the Bridge Bundle, Relay Bundle or Exit Bundle, 
48)     you will need to .
49)     </p>
50) 
51)     <p>
52)     Vidalia is also available as a standalone package from <a 
53)     href="https://people.torproject.org/~erinn/vidalia-standalone-bundles/">this 
54)     directory</a>. To use the Vidalia standalone, you will first need to <a 
55)     href="https://torproject.org/projects/torbrowser.html.en">download 
56)     the Tor Browser Bundle</a> or the <a href="https://www.torproject.org/download/download.html.en">Tor Expert Bundle</a>. 
57)     Unpack the Vidalia package into your Tor Browser folder. This will allow 
58)     Vidalia to control and configure the Tor Browser Bundle's Tor client. 
59)     </p>
60) 
61)     <p>
62)     If you use the Expert Bundle, which contains Tor only and no browser, 
63)     you'll need to inform Vidalia of your Tor's location. You can not run
64)     Vidalia unless Tor is running.
65)     </p>
66) 
67)     <p>
68)     Make sure your Tor works by using Tor as a client (surf with the Tor 
69)     Browser, for example). Verify that your clock and timezone are set
70)     correctly. If possible, synchronize your clock with public <a
71)     href="http://en.wikipedia.org/wiki/Network_Time_Protocol">time
72)     servers</a>.</p>
73) 
74) <!--
Roger Dingledine link to the debian-relay in...

Roger Dingledine authored 11 years ago

75)     <p>If you're comfortable editing text files, skip this page and
76)     go to our dedicated <a href="<page docs/tor-relay-debian>">Relay
77)     Configuration Instructions on Debian/Ubuntu</a> page. That page is
78)     the best one for relay operators on BSD, Unix, etc as well.</p>
79) 
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

80) 
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 13 years ago

81)     <hr>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

82)     <a id="zero"></a>
83)     <a id="install"></a>
84)     <h2><a class="anchor" href="#install">Step One: Download and Install Tor</a></h2>
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 13 years ago

85)     <br>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

86) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

87)     <p>Before you start, you need to make sure that Tor is up and running.
88)     </p>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

89) 
Andrew Lewman rename easy-download to dow...

Andrew Lewman authored 13 years ago

90)     <p>Visit our <a href="<page download/download>">download page</a> and
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

91)     install the "Installation Bundle" for your OS.
92)     </p>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

93) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

94)     <p>If it's convenient, you might also want to use it as a client for a
95)     while to make sure it's actually working.</p>
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

96) -->
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

97) 
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 13 years ago

98)     <hr>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

99)     <a id="setup"></a>
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

100)     <h2><a class="anchor" href="#setup">Configure Tor with the Vidalia Graphical Interface</a></h2>
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 13 years ago

101)     <br>
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

102)     <ol type=1>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

103) 
104) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

105)     <li>
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

106)     	Right click on the Vidalia icon in your task bar.  Choose Control Panel.
107)     	<img alt="vidalia right click menu" src="$(IMGROOT)/screenshot-win32-vidalia.png" />
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

108)     </li>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

109) 
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

110)     <li>Click "Setup Relaying".</li>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

111) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

112)     <li>
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

113)     Choose "Relay Traffic for the Tor network" if you
114) want to be a public relay (recommended), or choose "Help
115) censored users reach the Tor network" if you want to be a <a
116) href="<page docs/faq>#RelayOrBridge">non-public bridge</a>.
117)     <img alt="vidalia basic settings" src="$(IMGROOT)/screenshot-win32-configure-relay-1.png" />
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

118)     </li>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

119) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

120)     <li>Enter a nickname for your relay, and enter contact information in
121)     case we need to contact you about problems.</li>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

122) 
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

123)     <li>Leave "Attempt to automatically configure port forwarding" clicked.
124)     Push the "Test" button to see if it works.  If it does work, great.
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

125)     If not, see number 3 below.</li>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

126) 
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

127)     <li>Choose the "Bandwidth Limits" tab.  Select how much bandwidth you want to provide for Tor users like yourself.
128)     <img alt="vidalia bandwidth limits" src="$(IMGROOT)/screenshot-win32-configure-relay-2.png" />
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

129)     </li>
130) 
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

131)     <li>Select the "Exit Policies" tab.  If you want to allow others
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

132)     to use your relay for these services, don't change anything.  Un-check
Roger Dingledine fix the faq anchors that ha...

Roger Dingledine authored 13 years ago

133)     the services you don't want to allow people to <a href="<page
134)     docs/faq>#ExitPolicies">reach from your relay</a>.  If you want to
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

135)     be a non-exit relay, un-check all services.
136)     <img alt="vidalia exit policies" src="$(IMGROOT)/screenshot-win32-configure-relay-3.png" />
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

137)     </li>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

138) 
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

139)     <li>Click "Ok".</li>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

140) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

141)     <li>If you are using a firewall, open a hole in your firewall
142)     so incoming connections can reach the ports you configured
143)     (ORPort, plus DirPort if you enabled it). If you have a
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

144)     hardware firewall (Linksys box, cable modem, etc) you might find <a
145)     href="http://portforward.com/">portforward.com</a> useful. Also, make sure you
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

146)     allow all <em>outgoing</em> connections too, so your relay can reach the
147)     other Tor relays.
148)     </li>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

149) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

150)     <li>Restart your relay. If it <a
Roger Dingledine revise #Logs entry. fix sev...

Roger Dingledine authored 13 years ago

151)     href="<page docs/faq>#Logs">logs
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

152)     any warnings</a>, address them.
153)     </li>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

154) 
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

155)     </ol>
156) 
157)     <hr>
158)     <a id="torrc"></a>
159)     <h2><a class="anchor" href="#torrc">Configuring Tor by editing the torrc file</a></h2>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

160) 
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

161)     <p>
162)     You can also set up a relay without Vidalia. Tor's configuration file is named 'torrc'.
163)     In the Tor Browser folder, it's located at <pre>Data\Tor\torrc<pre>. 
164)     Open the file with a text editor and add the following lines:
165)     </p>
166) 
167)     <pre>
168)     ORPort 443
169)     Exitpolicy reject *:*
170)     Nickname mycleverrelayname
171)     ContactInfo human@...
172)     </pre>
173) 
174)     <p>If you want to be a bridge, you can read how to set the BridgeRelay 
175)     and ServerTransportPlugin values <a 
176)     href="https://www.torproject.org/projects/obfsproxy-instructions.html.en#instructions">on
177)     this page</a>.</p>
178) 
179)     <p>Tor will use all your bandwidth if you don't set limits for it. Some 
180)     options are described in <a href="<page docs/faq>#LimitTotalBandwidth">these</a> 
181)     <a href="<page docs/faq>#BandwidthShaping">FAQ entries</a>.</p>
182) 
183)     <p>See the <a href="https://gitweb.torproject.org/tor.git/blob/HEAD:/src/config/torrc.sample.in">sample 
184)     torrc file</a> and the <a 
185)     href="https://www.torproject.org/docs/tor-manual.html.en">man
186)     page</a> for other available Tor options.</p>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

187) 
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 13 years ago

188)     <hr>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

189)     <a id="check"></a>
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

190)     <h2><a class="anchor" href="#check">Make sure your relay is working</a></h2>
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 13 years ago

191)     <br>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

192) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

193)     <p>As soon as your relay manages to connect to the network, it will
194)     try to determine whether the ports you configured are reachable from
195)     the outside. This step is usually fast, but may take up to 20
Roger Dingledine revise #Logs entry. fix sev...

Roger Dingledine authored 13 years ago

196)     minutes. Look for a <a href="<page docs/faq>#Logs">log entry</a> like
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

197)     <pre>Self-testing indicates your ORPort is reachable from the outside. Excellent.</pre>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

198)     If you don't see this message, it means that your relay is not reachable
199)     from the outside &mdash; you should re-check your firewalls, check that it's
200)     testing the IP and port you think it should be testing, etc.
201)     </p>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

202) 
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

203)     <p>When your relay has decided that it's reachable, it will upload a "server
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

204)     descriptor" to the directories, to let clients know
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

205)     what address, ports, keys, etc your relay is using. You can search <a
206)     href="https://atlas.torproject.org/">Atlas</a> or <a 
207)     href="https://globe.torproject.org/">Globe</a> for 
208)     the nickname you configured, to make sure it's there. You may need to wait 
209)     up to one hour for the directories to publish the new server information.</p>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

210) 
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 13 years ago

211)     <hr>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

212)     <a id="after"></a>
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

213)     <h2><a class="anchor" href="#after">Once your relay is working</a></h2>
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 13 years ago

214)     <br>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

215) 
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

216)     <p>Subscribe to the <a
217)     href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-announce">tor-announce</a>
218)     mailing list. It is very low volume, and it will keep you informed
219)     of new stable releases.</p>
220)     
221)     <p>As a relay operator, you should consider subscribing to the 
222)     <a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays">
223)     tor-relays mailing list</a>. You might find <a
224)     href="../docs/documentation.html.en#MailingLists">other higher-volume 
225)     Tor lists</a> of interest as well.
226)     </p>
227) 
228)     <p><a href="https://weather.torproject.org/">Tor Weather</a> provides
229)     an email notification service to any users who want to monitor the
230)     status of a Tor node. Upon subscribing, you can specify what types of
231)     alerts you would like to receive. The main purpose of Tor Weather is
232)     to notify node operators via email if their node is down for longer
233)     than a specified period, but other notification types are available.
234)     </p>
235) 
Roger Dingledine vidalia users can't do all...

Roger Dingledine authored 11 years ago

236)     <p>Read
Karsten Loesing Update wiki links

Karsten Loesing authored 12 years ago

237)     <a href="<wiki>doc/OperationalSecurity">about operational security</a>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

238)     to get ideas how you can increase the security of your relay.
Roger Dingledine vidalia users can't do all...

Roger Dingledine authored 11 years ago

239)     </p>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

240) 
Roger Dingledine vidalia users can't do all...

Roger Dingledine authored 11 years ago

241)     <p>
Roger Dingledine simplify tor-doc-relay sinc...

Roger Dingledine authored 11 years ago

242)     If you control the name servers for your domain, consider setting your
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

243)     reverse DNS hostname to 'anonymous-relay', 'proxy' or 'tor-proxy', so when
244)     other people see the address in their web logs, they will more quickly
245)     understand what's going on. Adding the <a
246)     href="<gitblob>contrib/tor-exit-notice.html">Tor
247)     exit notice</a> on a vhost for this name can go a long way to deterring abuse
248)     complaints to you and your ISP if you are running an exit node.
Roger Dingledine vidalia users can't do all...

Roger Dingledine authored 11 years ago

249)     </p>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

250) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

251)     <p>
252)     When you change your Tor configuration, remember to verify that your
Roger Dingledine simplify tor-doc-relay sinc...

Roger Dingledine authored 11 years ago

253)     relay still works correctly after the change.
254)     If you have problems or questions, see
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

255)     the <a href="<page docs/documentation>#Support">Support</a> section or
Moritz Bartl mention tor-relays in relay...

Moritz Bartl authored 11 years ago

256)     <a href="<page about/contact>">contact us</a>. Thanks
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

257)     for helping to make the Tor network grow!
258)     </p>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

259) 
Moritz Bartl mention tor-relays in relay...

Moritz Bartl authored 11 years ago

260) 
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 13 years ago

261)     <hr>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

262) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

263)     <p>If you have suggestions for improving this document, please <a
264)     href="<page about/contact>">send them to us</a>. Thanks!</p>
265)   </div>
266)   <!-- END MAINCOL -->
267)   <div id = "sidecol">
268) #include "side.wmi"
269) #include "info.wmi"
270)   </div>
271)   <!-- END SIDECOL -->
272) </div>
273) <!-- END CONTENT -->
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

274) #include <foot.wmi>