6f634d3c372301ea31163d010c33cfe96368f45f
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

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

Roger Dingledine authored 14 years ago

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

Andrew Lewman authored 14 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 14 years ago

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

Andrew Lewman authored 14 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 14 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 14 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 14 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 14 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 14 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 
Matt Pagan Images should not be includ...

Matt Pagan authored 10 years ago

34)     was</a>. 
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

35)     <p>
36) 
37)     <p>The Vidalia Bridge Bundle, the Vidalia Relay Bundle 
Matt Pagan Images should not be includ...

Matt Pagan authored 10 years ago

38)     and the Vidalia Exit Bundle are available on the 
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

39)     <a href="https://www.torproject.org/download/download.html.en">download 
Matt Pagan Images should not be includ...

Matt Pagan authored 10 years ago

40)     page</a>. These bundles are only available for Windows. They come 
41)     preconfigured to run Tor as a bridge, a non-exit relay, or an exit relay. 
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

42)     </p>
43) 
44)     <p>
45)     Vidalia is also available as a standalone package from <a 
46)     href="https://people.torproject.org/~erinn/vidalia-standalone-bundles/">this 
47)     directory</a>. To use the Vidalia standalone, you will first need to <a 
48)     href="https://torproject.org/projects/torbrowser.html.en">download 
49)     the Tor Browser Bundle</a> or the <a href="https://www.torproject.org/download/download.html.en">Tor Expert Bundle</a>. 
50)     Unpack the Vidalia package into your Tor Browser folder. This will allow 
Matt Pagan Images should not be includ...

Matt Pagan authored 10 years ago

51)     Vidalia to control and configure the Tor Browser Bundle's Tor client. If 
52)     you use the Expert Bundle, which contains Tor only and no browser, you'll 
53)     need to inform Vidalia of your Tor's location.
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

54)     </p>
55) 
56)     <p>
57)     Make sure your Tor works by using Tor as a client (surf with the Tor 
58)     Browser, for example). Verify that your clock and timezone are set
59)     correctly. If possible, synchronize your clock with public <a
60)     href="http://en.wikipedia.org/wiki/Network_Time_Protocol">time
61)     servers</a>.</p>
62) 
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 14 years ago

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

Andrew Lewman authored 14 years ago

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

Matt Pagan authored 10 years ago

65)     <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 14 years ago

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

Matt Pagan authored 10 years ago

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

Andrew Lewman authored 13 years ago

68) 
69) 
Matt Pagan Images should not be includ...

Matt Pagan authored 10 years ago

70) <li>Right click on the Vidalia icon in your task bar.  Choose Control Panel.</li><br />
71)     	<img alt="Vidalia right click menu" src="$(IMGROOT)/screenshot-win32-vidalia.png" />
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

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

Matt Pagan authored 10 years ago

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

Andrew Lewman authored 13 years ago

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

Andrew Lewman authored 14 years ago

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

Matt Pagan authored 10 years ago

76)     Choose "Relay Traffic for the Tor network" if you
77) want to be a public relay (recommended), or choose "Help
78) censored users reach the Tor network" if you want to be a <a
Matt Pagan Images should not be includ...

Matt Pagan authored 10 years ago

79) href="<page docs/faq>#RelayOrBridge">non-public bridge</a>.</li><br />
80)     <img alt="Vidalia basic settings" src="$(IMGROOT)/screenshot-win32-configure-relay-1.png" />
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

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

Andrew Lewman authored 14 years ago

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

Andrew Lewman authored 13 years ago

84) 
Matt Pagan Images should not be includ...

Matt Pagan authored 10 years ago

85)     <li>Leave "Attempt to automatically configure port forwarding" ticked.
86)     Push the "Test" button to see if it works. If it does work, great.
87)     If not, see the section on reachability below.</li>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

88) 
Matt Pagan Images should not be includ...

Matt Pagan authored 10 years ago

89)     <li>Choose the "Bandwidth Limits" tab.  Select how much bandwidth you want to provide for Tor users like yourself.</li><br />
90)     <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

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

Matt Pagan authored 10 years ago

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

Andrew Lewman authored 14 years ago

93)     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

94)     the services you don't want to allow people to <a href="<page
95)     docs/faq>#ExitPolicies">reach from your relay</a>.  If you want to
Matt Pagan Images should not be includ...

Matt Pagan authored 10 years ago

96)     be a non-exit relay, un-check all services.</li><br />
97)     <img alt="Vidalia exit policies" src="$(IMGROOT)/screenshot-win32-configure-relay-3.png" />
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

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

Matt Pagan authored 10 years ago

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

Andrew Lewman authored 13 years ago

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

Matt Pagan authored 10 years ago

101)     </ol>
102) 
103)     <hr>
104)     <a id="torrc"></a>
Matt Pagan Rephrase headings to be mor...

Matt Pagan authored 10 years ago

105)     <h2><a class="anchor" href="#torrc">Configure Tor by editing the torrc file</a></h2>
Matt Pagan Images should not be includ...

Matt Pagan authored 10 years ago

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

Andrew Lewman authored 13 years ago

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

Matt Pagan authored 10 years ago

108)     <p>
Matt Pagan Images should not be includ...

Matt Pagan authored 10 years ago

109)     You can set up a relay without using Vidalia if you wish. Tor's 
110)     configuration file is named 'torrc'. In the Tor Browser folder, it's 
111)     located at</p>
112)     <pre>Data\Tor\torrc</pre>
113)     <p>Open the file with a text editor and add the following lines:</p>
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

114) 
115)     <pre>
116)     ORPort 443
117)     Exitpolicy reject *:*
Matt Pagan Images should not be includ...

Matt Pagan authored 10 years ago

118)     Nickname ididntedittheconfig
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

119)     ContactInfo human@...
120)     </pre>
121) 
Matt Pagan Images should not be includ...

Matt Pagan authored 10 years ago

122)     <p>If you want to be a bridge, read about the BridgeRelay and 
123)     ServerTransportPlugin values <a 
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

124)     href="https://www.torproject.org/projects/obfsproxy-instructions.html.en#instructions">on
125)     this page</a>.</p>
126) 
127)     <p>Tor will use all your bandwidth if you don't set limits for it. Some 
128)     options are described in <a href="<page docs/faq>#LimitTotalBandwidth">these</a> 
129)     <a href="<page docs/faq>#BandwidthShaping">FAQ entries</a>.</p>
130) 
131)     <p>See the <a href="https://gitweb.torproject.org/tor.git/blob/HEAD:/src/config/torrc.sample.in">sample 
132)     torrc file</a> and the <a 
133)     href="https://www.torproject.org/docs/tor-manual.html.en">man
Matt Pagan Images should not be includ...

Matt Pagan authored 10 years ago

134)     page</a> for other Tor options you may want to set.</p>
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

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

Sebastian Hahn authored 14 years ago

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

Andrew Lewman authored 14 years ago

137)     <a id="check"></a>
Matt Pagan Images should not be includ...

Matt Pagan authored 10 years ago

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

Sebastian Hahn authored 14 years ago

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

Andrew Lewman authored 13 years ago

140) 
Matt Pagan Images should not be includ...

Matt Pagan authored 10 years ago

141)     <p>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
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
146)     allow all <em>outgoing</em> connections too, so your relay can reach the
147)     other Tor relays.
148)     </p>
149) 
150)     <p>Restart your relay. If it <a
151)     href="<page docs/faq>#Logs">logs
152)     any warnings</a>, address them.
153)     </p>
154) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

155)     <p>As soon as your relay manages to connect to the network, it will
156)     try to determine whether the ports you configured are reachable from
157)     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

158)     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

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

Andrew Lewman authored 14 years ago

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

Andrew Lewman authored 13 years ago

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

Matt Pagan authored 10 years ago

165)     <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 14 years ago

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

Matt Pagan authored 10 years ago

167)     what address, ports, keys, etc your relay is using. You can search <a
168)     href="https://atlas.torproject.org/">Atlas</a> or <a 
169)     href="https://globe.torproject.org/">Globe</a> for 
170)     the nickname you configured, to make sure it's there. You may need to wait 
171)     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

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

Sebastian Hahn authored 14 years ago

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

Andrew Lewman authored 14 years ago

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

Matt Pagan authored 10 years ago

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

Sebastian Hahn authored 14 years ago

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

Andrew Lewman authored 13 years ago

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

Matt Pagan authored 10 years ago

178)     <p>Subscribe to the <a
179)     href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-announce">tor-announce</a>
180)     mailing list. It is very low volume, and it will keep you informed
181)     of new stable releases.</p>
182)     
183)     <p>As a relay operator, you should consider subscribing to the 
184)     <a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays">
185)     tor-relays mailing list</a>. You might find <a
186)     href="../docs/documentation.html.en#MailingLists">other higher-volume 
Matt Pagan Images should not be includ...

Matt Pagan authored 10 years ago

187)     Tor lists</a> of interest to you as well.
Matt Pagan Spruced up the relay docume...

Matt Pagan authored 10 years ago

188)     </p>
189) 
190)     <p><a href="https://weather.torproject.org/">Tor Weather</a> provides
191)     an email notification service to any users who want to monitor the
192)     status of a Tor node. Upon subscribing, you can specify what types of
193)     alerts you would like to receive. The main purpose of Tor Weather is
194)     to notify node operators via email if their node is down for longer
195)     than a specified period, but other notification types are available.
196)     </p>
197) 
Roger Dingledine vidalia users can't do all...

Roger Dingledine authored 11 years ago

198)     <p>Read
Karsten Loesing Update wiki links

Karsten Loesing authored 13 years ago

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

Andrew Lewman authored 14 years ago

200)     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

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

Andrew Lewman authored 13 years ago

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

Roger Dingledine authored 11 years ago

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

Roger Dingledine authored 11 years ago

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

Andrew Lewman authored 14 years ago

205)     reverse DNS hostname to 'anonymous-relay', 'proxy' or 'tor-proxy', so when
206)     other people see the address in their web logs, they will more quickly
207)     understand what's going on. Adding the <a
208)     href="<gitblob>contrib/tor-exit-notice.html">Tor
209)     exit notice</a> on a vhost for this name can go a long way to deterring abuse
210)     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

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

Andrew Lewman authored 13 years ago

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

Andrew Lewman authored 14 years ago

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

Roger Dingledine authored 11 years ago

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

Andrew Lewman authored 14 years ago

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

Moritz Bartl authored 11 years ago

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

Andrew Lewman authored 14 years ago

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

Andrew Lewman authored 13 years ago

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

Moritz Bartl authored 11 years ago

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

Sebastian Hahn authored 14 years ago

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

Andrew Lewman authored 13 years ago

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

Andrew Lewman authored 14 years ago

225)     <p>If you have suggestions for improving this document, please <a
226)     href="<page about/contact>">send them to us</a>. Thanks!</p>
227)   </div>
228)   <!-- END MAINCOL -->
229)   <div id = "sidecol">
230) #include "side.wmi"
231) #include "info.wmi"
232)   </div>
233)   <!-- END SIDECOL -->
234) </div>
235) <!-- END CONTENT -->
Andrew Lewman move the manual config abov...

Andrew Lewman authored 13 years ago

236) #include <foot.wmi>