85ffa8e631d24e2710c18625429852fa8ac87bba
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) 
Roger Dingledine similar patch on the docs/e...

Roger Dingledine authored 18 years ago

5) #include "head.wmi" TITLE="Linux/BSD/Unix Install Instructions"
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
28) href="<page download>">download</a> page. We have packages for Debian,
29) Red Hat, Gentoo, *BSD, etc there too.
30) </p>
31) 
32) <p>If you're building from source, first install <a
33) href="http://www.monkey.org/~provos/libevent/">libevent</a>, and
34) make sure you have openssl and zlib (including the -devel packages if
Nick Mathewson Fox tor-doc-unix.wml: make...

Nick Mathewson authored 18 years ago

35) applicable). Then run:<br />
36) <tt>tar xzf tor-<version-stable>.tar.gz; cd tor-<version-stable><br />
37) ./configure &amp;&amp; make</tt><br />
38) 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

39) (as root if necessary) to install it into /usr/local/, and then you can
40) start it just by running <tt>tor</tt>.
41) </p>
42) 
43) <p>Tor comes configured as a client by default. It uses a built-in
44) default configuration file, and most people won't need to change any of
45) the settings. Tor is now installed.
46) </p>
47) 
48) <hr />
49) <a id="privoxy"></a>
50) <h2><a class="anchor" href="#privoxy">Step Two: Install Privoxy for Web Browsing</a></h2>
51) <br />
52) 
53) <p>After installing Tor, you need to configure your applications to use it.
54) </p>
55) 
56) <p>
57) The first step is to set up web browsing. Start by installing <a
58) href="http://www.privoxy.org/">Privoxy</a>: click on 'recent releases'
59) and pick your favorite package or install from source. Privoxy is a
60) filtering web proxy that integrates well with Tor.
61) </p>
62) 
Roger Dingledine improve the tor-doc-unix pr...

Roger Dingledine authored 18 years ago

63) <p>Once you've installed Privoxy (either from package or from source),
64) <b>you will need to configure Privoxy to use Tor</b>.
Jacob Appelbaum Addition of link to the pri...

Jacob Appelbaum authored 16 years ago

65) 
66) <a href="https://wiki.torproject.org/noreply/TheOnionRouter/PrivoxyConfig">You may use a sample configuration file if you'd like.</a> If you'd like, you can configure it by hand by following the directions that follow.
67) 
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

68) Open Privoxy's "config" file (look in /etc/privoxy/ or /usr/local/etc/)
69) and add the line <br>
Nick Mathewson Recommend 127.0.0.1 over lo...

Nick Mathewson authored 17 years ago

70) <tt>forward-socks4a / 127.0.0.1:9050 .</tt><br>
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

71) to the top of the config file. Don't forget to add the dot at the end.
72) </p>
73) 
74) <p>Privoxy keeps a log file of everything passed through it.  In
Nick Mathewson Mention another like to com...

Nick Mathewson authored 18 years ago

75) order to stop this you will need to comment out three lines by inserting a
76) \# before the line. The three lines are:<br>
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

77) <tt>logfile logfile</tt><br>
78) and the line <br>
79) <tt>jarfile jarfile</tt><br>
Nick Mathewson Mention another like to com...

Nick Mathewson authored 18 years ago

80) and (on some systems) the line <br>
81) <tt>debug 1  # show each GET/POST/CONNECT request</tt><br>
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

82) </p>
83) 
Roger Dingledine clearer recommendations for...

Roger Dingledine authored 16 years ago

84) <p>Depending on which default config file you have for Privoxy,
85) you may also need to turn off <tt>enable-remote-toggle</tt>,
86) <tt>enable-remote-http-toggle</tt>, and <tt>enable-edit-actions</tt>.
87) </p>
88) 
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

89) <p>You'll need to restart Privoxy for the changes to take effect.</p>
90) 
91) <hr />
92) <a id="using"></a>
93) <h2><a class="anchor" href="#using">Step Three: Configure your applications to use Tor</a></h2>
94) <br />
95) 
96) <p>After installing Tor and Privoxy, you need to configure your
97) applications to use them. The first step is to set up web browsing.</p>
98) 
Roger Dingledine link the torbutton screensh...

Roger Dingledine authored 18 years ago

99) <p>If you're using Firefox (we recommend it), simply install the <a
Roger Dingledine link directly to the torbut...

Roger Dingledine authored 17 years ago

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

Roger Dingledine authored 18 years ago

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

Roger Dingledine authored 18 years ago

103) 
Roger Dingledine link the torbutton screensh...

Roger Dingledine authored 18 years ago

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

Roger Dingledine authored 18 years ago

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

Roger Dingledine authored 18 years ago

108) <br />
109) 
Roger Dingledine paragraph breaks scare peop...

Roger Dingledine authored 18 years ago

110) <p>
Roger Dingledine new torbutton url

Roger Dingledine authored 16 years ago

111) (<a href="https://torbutton.torproject.org/">Learn more about
Roger Dingledine link directly to the torbut...

Roger Dingledine authored 17 years ago

112) Torbutton here</a>.
113) If you plan to run Firefox on a different computer than Tor, see the <a
Roger Dingledine link the torbutton screensh...

Roger Dingledine authored 18 years ago

114) href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#SocksListenAddress">
115) FAQ
116) entry for running Tor on a different computer</a>. If you need to
117) use a browser other than Firefox, you'll have to <a href="<page
118) docs/tor-doc-web>">configure its proxy settings yourself</a>.)
119) </p>
Roger Dingledine and move them to cvs/websit...

Roger Dingledine authored 18 years ago

120) 
121) <p>Using privoxy is <strong>necessary</strong> because <a
122) href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#SOCKSAndDNS">browsers
123) leak your DNS requests when they use a SOCKS proxy directly</a>, which
124) is bad for your anonymity. Privoxy also removes certain dangerous
125) headers from your web requests, and blocks obnoxious ad sites like
126) Doubleclick.</p>
127) 
128) <p>To Torify other applications that support HTTP proxies, just
129) point them at Privoxy (that is, localhost port 8118). To use SOCKS
130) directly (for instant messaging, Jabber, IRC, etc), you can point
131) your application directly at Tor (localhost port 9050), but see <a
132) href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#SOCKSAndDNS">this
133) FAQ entry</a> for why this may be dangerous. For applications
134) that support neither SOCKS nor HTTP, take a look at <a
135) href="http://tsocks.sourceforge.net/">tsocks</a> or <a
136) href="http://wiki.noreply.org/noreply/TheOnionRouter/TorifyHOWTO#socat">socat</a>.
137) </p>
138) 
139) <p>For information on how to Torify other applications, check out the
140) <a href="http://wiki.noreply.org/wiki/TheOnionRouter/TorifyHOWTO">Torify
141) HOWTO</a>.
142) </p>
143) 
144) <hr />
145) <a id="verify"></a>
146) <h2><a class="anchor" href="#verify">Step Four: Make sure it's working</a></h2>
147) <br />
148) 
149) <p>
150) 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

151) sure that your IP address is being anonymized. Click on
yGREK Heretix point torcheck link to xeno...

yGREK Heretix authored 17 years ago

152) <a href="http://torcheck.xenobite.eu/">the
Roger Dingledine the tor detector is dead; l...

Roger Dingledine authored 17 years ago

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

Roger Dingledine authored 18 years ago

157) (If that site is down, see <a
158) href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#IsMyConnectionPrivate">this
159) FAQ entry</a> for more suggestions on how to test your Tor.)
160) </p>
161) 
162) <p>If you have a personal firewall that limits your computer's
163) ability to connect to itself (this includes something like SELinux on
164) Fedora Core 4), be sure to allow connections from
165) your local applications to Privoxy (local port 8118) and Tor (local port
166) 9050). If
167) your firewall blocks outgoing connections, punch a hole so
168) it can connect to at least TCP ports 80 and 443, and then see <a
169) href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#FirewalledClient">this
170) FAQ entry</a>.  If your SELinux config is not allowing tor or privoxy to
171) run correctly, create a file named booleans.local in the directory
172) /etc/selinux/targeted.  Edit this file in your favorite text editor and
173) insert "allow_ypbind=1".  Restart your machine for this change to take
174) effect.
175) </p>
176) 
177) <p>If it's still not working, look at <a
178) href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#ItDoesntWork">this
179) FAQ entry</a> for hints.</p>
180) 
181) <hr />
182) <a id="server"></a>
Roger Dingledine continue the great relay te...

Roger Dingledine authored 16 years ago

183) <a id="relay"></a>
184) <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

185) <br />
186) 
187) <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

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

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

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

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

Roger Dingledine authored 16 years ago

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

196) makes Tor users secure. <a
Roger Dingledine more server/relay terminolo...

Roger Dingledine authored 16 years ago

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

Roger Dingledine authored 18 years ago

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

Roger Dingledine authored 16 years ago

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

203) guide.</p>
204) 
205) <hr />
206) 
Roger Dingledine add a step to tor-doc-serve...

Roger Dingledine authored 18 years ago

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