83924d27069c522864f442563184686b1f944501
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

1) ## translation metadata
2) # Revision: $Revision$
Roger Dingledine add some more translation p...

Roger Dingledine authored 16 years ago

3) # Translation-Priority: 3-low
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

4) 
Runa A. Sandvik utf-8 ftw

Runa A. Sandvik authored 14 years ago

5) #include "head.wmi" TITLE="Tor: Linux/BSD/Unix Install Instructions" CHARSET="UTF-8"
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

6) 
7) <div class="center">
8) 
9) <div class="main-column">
10) 
11) <h1>Running the <a href="<page index>">Tor</a> client on Linux/BSD/Unix</h1>
12) <br />
13) 
14) <p>
15) <b>Note that these are the installation instructions for running a Tor
16) client. If you want to relay traffic for others to help the network grow
17) (please do), read the <a
Roger Dingledine continue the great relay te...

Roger Dingledine authored 16 years ago

18) href="<page docs/tor-doc-relay>">Configuring a relay</a> guide.</b>
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

19) </p>
20) 
21) <hr />
22) <a id="installing"></a>
23) <h2><a class="anchor" href="#installing">Step One: Download and Install Tor</a></h2>
24) <br />
25) 
26) <p>
27) The latest release of Tor can be found on the <a
Roger Dingledine change the download link fo...

Roger Dingledine authored 14 years ago

28) href="<page download-unix>">download</a> page. We have packages for Debian,
29) Red Hat, Gentoo, *BSD, etc there too. If you're
30) using Ubuntu, don't use the default packages: use <a
Roger Dingledine migrate the debian directio...

Roger Dingledine authored 14 years ago

31) href="<page docs/debian>#ubuntu">our deb repository</a> instead.
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

32) </p>
33) 
34) <p>If you're building from source, first install <a
35) href="http://www.monkey.org/~provos/libevent/">libevent</a>, and
36) make sure you have openssl and zlib (including the -devel packages if
Nick Mathewson Fox tor-doc-unix.wml: make...

Nick Mathewson authored 17 years ago

37) applicable). Then run:<br />
38) <tt>tar xzf tor-<version-stable>.tar.gz; cd tor-<version-stable><br />
39) ./configure &amp;&amp; make</tt><br />
40) Now you can run tor as <tt>src/or/tor</tt>, or you can run <tt>make install</tt>
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

41) (as root if necessary) to install it into /usr/local/, and then you can
42) start it just by running <tt>tor</tt>.
43) </p>
44) 
45) <p>Tor comes configured as a client by default. It uses a built-in
46) default configuration file, and most people won't need to change any of
47) the settings. Tor is now installed.
48) </p>
49) 
50) <hr />
51) <a id="privoxy"></a>
Roger Dingledine switch to recommending poli...

Roger Dingledine authored 14 years ago

52) <a id="polipo"></a>
53) <h2><a class="anchor" href="#polipo">Step Two: Install Polipo for Web Browsing</a></h2>
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

54) <br />
55) 
56) <p>After installing Tor, you need to configure your applications to use it.
57) </p>
58) 
59) <p>
60) The first step is to set up web browsing. Start by installing <a
Roger Dingledine switch to recommending poli...

Roger Dingledine authored 14 years ago

61) href="http://www.pps.jussieu.fr/~jch/software/polipo/">Polipo</a> from
62) your favorite repository. Polipo is a caching web proxy that does http
Andrew Lewman Tor doesn't have high-laten...

Andrew Lewman authored 14 years ago

63) pipelining well, so it's well-suited for Tor's latencies. Make sure
Roger Dingledine gotta get in the last word

Roger Dingledine authored 14 years ago

64) to get at least Polipo 1.0.4, since earlier versions lack the SOCKS support
Roger Dingledine start to address bug 1251

Roger Dingledine authored 14 years ago

65) required to use Polipo with Tor. If you're using Debian or Ubuntu, you
66) should apt-get remove privoxy at this point, so they don't conflict.
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

67) </p>
68) 
Roger Dingledine switch to recommending poli...

Roger Dingledine authored 14 years ago

69) <p>Once you've installed Polipo (either from package or from
70) source), <b>you will need to configure Polipo to use Tor</b>. Grab our <a
71) href="https://svn.torproject.org/svn/torbrowser/trunk/build-scripts/config/polipo.conf">Polipo
72) configuration for Tor</a> and put it in place of your current polipo
Sebastian Hahn Fix the polipo config path

Sebastian Hahn authored 14 years ago

73) config file (e.g. /etc/polipo/config or ~/.polipo).
Roger Dingledine make it explicit how to res...

Roger Dingledine authored 14 years ago

74) You'll need to restart Polipo for the changes to take effect. For
75) example:<br />
Roger Dingledine actually, that command woul...

Roger Dingledine authored 14 years ago

76) <tt>/etc/init.d/polipo restart</tt>
Roger Dingledine make it explicit how to res...

Roger Dingledine authored 14 years ago

77) </p>
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

78) 
Roger Dingledine switch to recommending poli...

Roger Dingledine authored 14 years ago

79) <p>If you prefer, you can instead use Privoxy with <a
80) href="https://wiki.torproject.org/noreply/TheOnionRouter/PrivoxyConfig">this
81) sample Privoxy configuration</a>. But since the config files both use
82) port 8118, you shouldn't run both Polipo and Privoxy at the same time.</p>
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

83) 
84) <hr />
85) <a id="using"></a>
86) <h2><a class="anchor" href="#using">Step Three: Configure your applications to use Tor</a></h2>
87) <br />
88) 
Roger Dingledine switch to recommending poli...

Roger Dingledine authored 14 years ago

89) <p>After installing Tor and Polipo, you need to configure your
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

90) applications to use them. The first step is to set up web browsing.</p>
91) 
Roger Dingledine similar changes for the oth...

Roger Dingledine authored 15 years ago

92) <p>You should use Tor with Firefox and Torbutton, for best safety.
93) Simply install the <a
Roger Dingledine link directly to the torbut...

Roger Dingledine authored 17 years ago

94) href="https://addons.mozilla.org/firefox/2275/">Torbutton
Roger Dingledine link the torbutton screensh...

Roger Dingledine authored 17 years ago

95) plugin</a>, restart your Firefox, and you're all set:
96) </p>
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

97) 
Roger Dingledine link the torbutton screensh...

Roger Dingledine authored 17 years ago

98) <img alt="Torbutton plugin for Firefox"
99) src="../img/screenshot-torbutton.png"
100) border="1">
Roger Dingledine paragraph breaks scare peop...

Roger Dingledine authored 18 years ago

101) 
Roger Dingledine get rid of osx firefox inst...

Roger Dingledine authored 17 years ago

102) <br />
103) 
Roger Dingledine paragraph breaks scare peop...

Roger Dingledine authored 18 years ago

104) <p>
Roger Dingledine link directly to the torbut...

Roger Dingledine authored 17 years ago

105) If you plan to run Firefox on a different computer than Tor, see the <a
Roger Dingledine patch from ararat to update...

Roger Dingledine authored 16 years ago

106) href="https://wiki.torproject.org/noreply/TheOnionRouter/TorFAQ#SocksListenAddress">
Roger Dingledine link the torbutton screensh...

Roger Dingledine authored 17 years ago

107) FAQ
Roger Dingledine similar changes for the oth...

Roger Dingledine authored 15 years ago

108) entry for running Tor on a different computer</a>.
Roger Dingledine link the torbutton screensh...

Roger Dingledine authored 17 years ago

109) </p>
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

110) 
111) <p>To Torify other applications that support HTTP proxies, just
Roger Dingledine switch to recommending poli...

Roger Dingledine authored 14 years ago

112) point them at Polipo (that is, localhost port 8118). To use SOCKS
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

113) directly (for instant messaging, Jabber, IRC, etc), you can point
114) your application directly at Tor (localhost port 9050), but see <a
Roger Dingledine patch from ararat to update...

Roger Dingledine authored 16 years ago

115) href="https://wiki.torproject.org/noreply/TheOnionRouter/TorFAQ#SOCKSAndDNS">this
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

116) FAQ entry</a> for why this may be dangerous. For applications
117) that support neither SOCKS nor HTTP, take a look at <a
118) href="http://tsocks.sourceforge.net/">tsocks</a> or <a
Roger Dingledine patch from ararat to update...

Roger Dingledine authored 16 years ago

119) href="https://wiki.torproject.org/noreply/TheOnionRouter/TorifyHOWTO#socat">socat</a>.
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

120) </p>
121) 
122) <p>For information on how to Torify other applications, check out the
Roger Dingledine patch from ararat to update...

Roger Dingledine authored 16 years ago

123) <a href="https://wiki.torproject.org/noreply/TheOnionRouter/TorifyHOWTO">Torify
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

124) HOWTO</a>.
125) </p>
126) 
127) <hr />
128) <a id="verify"></a>
129) <h2><a class="anchor" href="#verify">Step Four: Make sure it's working</a></h2>
130) <br />
131) 
132) <p>
133) Next, you should try using your browser with Tor and make
Roger Dingledine the torstat page does not f...

Roger Dingledine authored 17 years ago

134) sure that your IP address is being anonymized. Click on
Steven Murdoch Change URL for Tor Check we...

Steven Murdoch authored 16 years ago

135) <a href="https://check.torproject.org/">the
Roger Dingledine the tor detector is dead; l...

Roger Dingledine authored 17 years ago

136) Tor detector</a>
137) and see whether it thinks you're using Tor or not.
138) #<a href="http://ipchicken.com/">this site</a>
139) #to see what IP address it thinks you're using.
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

140) (If that site is down, see <a
Roger Dingledine patch from ararat to update...

Roger Dingledine authored 16 years ago

141) href="https://wiki.torproject.org/noreply/TheOnionRouter/TorFAQ#IsMyConnectionPrivate">this
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

142) FAQ entry</a> for more suggestions on how to test your Tor.)
143) </p>
144) 
145) <p>If you have a personal firewall that limits your computer's
146) ability to connect to itself (this includes something like SELinux on
147) Fedora Core 4), be sure to allow connections from
Roger Dingledine switch to recommending poli...

Roger Dingledine authored 14 years ago

148) your local applications to Polipo (local port 8118) and Tor (local port
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

149) 9050). If
150) your firewall blocks outgoing connections, punch a hole so
151) it can connect to at least TCP ports 80 and 443, and then see <a
Roger Dingledine patch from ararat to update...

Roger Dingledine authored 16 years ago

152) href="https://wiki.torproject.org/noreply/TheOnionRouter/TorFAQ#FirewalledClient">this
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

153) FAQ entry</a>.  If your SELinux config is not allowing tor or privoxy to
154) run correctly, create a file named booleans.local in the directory
155) /etc/selinux/targeted.  Edit this file in your favorite text editor and
156) insert "allow_ypbind=1".  Restart your machine for this change to take
157) effect.
158) </p>
159) 
160) <p>If it's still not working, look at <a
Roger Dingledine patch from ararat to update...

Roger Dingledine authored 16 years ago

161) href="https://wiki.torproject.org/noreply/TheOnionRouter/TorFAQ#ItDoesntWork">this
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

162) FAQ entry</a> for hints.</p>
163) 
164) <hr />
165) <a id="server"></a>
Roger Dingledine continue the great relay te...

Roger Dingledine authored 16 years ago

166) <a id="relay"></a>
167) <h2><a class="anchor" href="#relay">Step Five: Configure it as a relay</a></h2>
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

168) <br />
169) 
170) <p>The Tor network relies on volunteers to donate bandwidth. The more
Roger Dingledine continue the great relay te...

Roger Dingledine authored 16 years ago

171) people who run relays, the faster the Tor network will be. If you have
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

172) at least 20 kilobytes/s each way, please help out Tor by configuring your
Roger Dingledine continue the great relay te...

Roger Dingledine authored 16 years ago

173) Tor to be a relay too. We have many features that make Tor relays easy
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

174) and convenient, including rate limiting for bandwidth, exit policies so
175) you can limit your exposure to abuse complaints, and support for dynamic
176) IP addresses.</p>
177) 
Roger Dingledine continue the great relay te...

Roger Dingledine authored 16 years ago

178) <p>Having relays in many different places on the Internet is what
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

179) makes Tor users secure. <a
Roger Dingledine patch from ararat to update...

Roger Dingledine authored 16 years ago

180) href="https://wiki.torproject.org/noreply/TheOnionRouter/TorFAQ#RelayAnonymity">You
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

181) may also get stronger anonymity yourself</a>,
182) since remote sites can't know whether connections originated at your
183) computer or were relayed from others.</p>
184) 
Roger Dingledine continue the great relay te...

Roger Dingledine authored 16 years ago

185) <p>Read more at our <a href="<page docs/tor-doc-relay>">Configuring a relay</a>
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

186) guide.</p>
187) 
188) <hr />
189) 
Roger Dingledine add a step to tor-doc-serve...

Roger Dingledine authored 18 years ago

190) <p>If you have suggestions for improving this document, please <a
191) href="<page contact>">send them to us</a>. Thanks!</p>