and move them to cvs/websit...
Roger Dingledine authored 18 years ago
|
1) ## translation metadata
2) # Revision: $Revision$
3)
|
similar patch on the docs/e...
Roger Dingledine authored 18 years ago
|
4) #include "head.wmi" TITLE="Linux/BSD/Unix Install Instructions"
|
and move them to cvs/websit...
Roger Dingledine authored 18 years ago
|
5)
6) <div class="center">
7)
8) <div class="main-column">
9)
10) <h1>Running the <a href="<page index>">Tor</a> client on Linux/BSD/Unix</h1>
11) <br />
12)
13) <p>
14) <b>Note that these are the installation instructions for running a Tor
15) client. If you want to relay traffic for others to help the network grow
16) (please do), read the <a
|
and get the relative links...
Roger Dingledine authored 18 years ago
|
17) href="<page docs/tor-doc-server>">Configuring a server</a> guide.</b>
|
and move them to cvs/websit...
Roger Dingledine authored 18 years ago
|
18) </p>
19)
20) <hr />
21) <a id="installing"></a>
22) <h2><a class="anchor" href="#installing">Step One: Download and Install Tor</a></h2>
23) <br />
24)
25) <p>
26) The latest release of Tor can be found on the <a
27) href="<page download>">download</a> page. We have packages for Debian,
28) Red Hat, Gentoo, *BSD, etc there too.
29) </p>
30)
31) <p>If you're building from source, first install <a
32) href="http://www.monkey.org/~provos/libevent/">libevent</a>, and
33) make sure you have openssl and zlib (including the -devel packages if
|
Fox tor-doc-unix.wml: make...
Nick Mathewson authored 17 years ago
|
34) applicable). Then run:<br />
35) <tt>tar xzf tor-<version-stable>.tar.gz; cd tor-<version-stable><br />
36) ./configure && make</tt><br />
37) Now you can run tor as <tt>src/or/tor</tt>, or you can run <tt>make install</tt>
|
and move them to cvs/websit...
Roger Dingledine authored 18 years ago
|
38) (as root if necessary) to install it into /usr/local/, and then you can
39) start it just by running <tt>tor</tt>.
40) </p>
41)
42) <p>Tor comes configured as a client by default. It uses a built-in
43) default configuration file, and most people won't need to change any of
44) the settings. Tor is now installed.
45) </p>
46)
47) <hr />
48) <a id="privoxy"></a>
49) <h2><a class="anchor" href="#privoxy">Step Two: Install Privoxy for Web Browsing</a></h2>
50) <br />
51)
52) <p>After installing Tor, you need to configure your applications to use it.
53) </p>
54)
55) <p>
56) The first step is to set up web browsing. Start by installing <a
57) href="http://www.privoxy.org/">Privoxy</a>: click on 'recent releases'
58) and pick your favorite package or install from source. Privoxy is a
59) filtering web proxy that integrates well with Tor.
60) </p>
61)
|
improve the tor-doc-unix pr...
Roger Dingledine authored 18 years ago
|
62) <p>Once you've installed Privoxy (either from package or from source),
63) <b>you will need to configure Privoxy to use Tor</b>.
|
and move them to cvs/websit...
Roger Dingledine authored 18 years ago
|
64) Open Privoxy's "config" file (look in /etc/privoxy/ or /usr/local/etc/)
65) and add the line <br>
66) <tt>forward-socks4a / localhost:9050 .</tt><br>
67) to the top of the config file. Don't forget to add the dot at the end.
68) </p>
69)
70) <p>Privoxy keeps a log file of everything passed through it. In
71) order to stop this you will need to comment out two lines by inserting a
|
improve the tor-doc-unix pr...
Roger Dingledine authored 18 years ago
|
72) \# before the line. The two lines are:<br>
|
and move them to cvs/websit...
Roger Dingledine authored 18 years ago
|
73) <tt>logfile logfile</tt><br>
74) and the line <br>
75) <tt>jarfile jarfile</tt><br>
76) </p>
77)
78) <p>You'll need to restart Privoxy for the changes to take effect.</p>
79)
80) <hr />
81) <a id="using"></a>
82) <h2><a class="anchor" href="#using">Step Three: Configure your applications to use Tor</a></h2>
83) <br />
84)
85) <p>After installing Tor and Privoxy, you need to configure your
86) applications to use them. The first step is to set up web browsing.</p>
87)
|
and recommend Torbutton on...
Roger Dingledine authored 18 years ago
|
88) <p>If you're using Firefox (we recommend it), check out the <a
|
give torbutton a better home
Roger Dingledine authored 18 years ago
|
89) href="http://freehaven.net/~squires/torbutton/">Torbutton
|
and recommend Torbutton on...
Roger Dingledine authored 18 years ago
|
90) plugin</a> that sets everything up for you. If you plan to run Firefox
91) on a different computer than Tor, read our <a
|
and get the relative links...
Roger Dingledine authored 18 years ago
|
92) href="<page docs/tor-switchproxy>">Tor SwitchProxy howto</a> to set up
|
and move them to cvs/websit...
Roger Dingledine authored 18 years ago
|
93) a plugin that makes it easy to switch between using Tor and using a
94) direct connection.</p>
95)
|
Give better proxy instructi...
Roger Dingledine authored 18 years ago
|
96) <p>Otherwise, you need to manually configure your browser's proxy
97) settings.
|
and move them to cvs/websit...
Roger Dingledine authored 18 years ago
|
98) In Mozilla, this is in Edit|Preferences|Advanced|Proxies.
|
paragraph breaks scare peop...
Roger Dingledine authored 18 years ago
|
99) In Opera 7.5x it's Tools|Preferences|Network|Proxy servers.</p>
100)
101) <p>
|
Give better proxy instructi...
Roger Dingledine authored 18 years ago
|
102) You should fill in "localhost"
103) and "8118" to point the top four protocols to Privoxy, as shown here. (Even
104) though Privoxy doesn't support FTP and Gopher, <a
105) href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#FtpProxy">you
106) should set them up anyway</a>.) You should also fill out the socks proxy entry to point directly to Tor ("localhost", "9050", and socks5)
107) to cover protocols besides the first four. Then click "OK".</p>
|
and move them to cvs/websit...
Roger Dingledine authored 18 years ago
|
108)
109) <p>Using privoxy is <strong>necessary</strong> because <a
110) href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#SOCKSAndDNS">browsers
111) leak your DNS requests when they use a SOCKS proxy directly</a>, which
112) is bad for your anonymity. Privoxy also removes certain dangerous
113) headers from your web requests, and blocks obnoxious ad sites like
114) Doubleclick.</p>
115)
116) <p>To Torify other applications that support HTTP proxies, just
117) point them at Privoxy (that is, localhost port 8118). To use SOCKS
118) directly (for instant messaging, Jabber, IRC, etc), you can point
119) your application directly at Tor (localhost port 9050), but see <a
120) href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#SOCKSAndDNS">this
121) FAQ entry</a> for why this may be dangerous. For applications
122) that support neither SOCKS nor HTTP, take a look at <a
123) href="http://tsocks.sourceforge.net/">tsocks</a> or <a
124) href="http://wiki.noreply.org/noreply/TheOnionRouter/TorifyHOWTO#socat">socat</a>.
125) </p>
126)
127) <p>For information on how to Torify other applications, check out the
128) <a href="http://wiki.noreply.org/wiki/TheOnionRouter/TorifyHOWTO">Torify
129) HOWTO</a>.
130) </p>
131)
132) <hr />
133) <a id="verify"></a>
134) <h2><a class="anchor" href="#verify">Step Four: Make sure it's working</a></h2>
135) <br />
136)
137) <p>
138) Next, you should try using your browser with Tor and make
139) sure that your IP address is being anonymized. Click on the <a
140) href="http://serifos.eecs.harvard.edu/cgi-bin/ipaddr.pl?tor=1">Tor
141) detector</a> and see whether it thinks you're using Tor or not.
142) (If that site is down, see <a
143) href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#IsMyConnectionPrivate">this
144) FAQ entry</a> for more suggestions on how to test your Tor.)
145) </p>
146)
147) <p>If you have a personal firewall that limits your computer's
148) ability to connect to itself (this includes something like SELinux on
149) Fedora Core 4), be sure to allow connections from
150) your local applications to Privoxy (local port 8118) and Tor (local port
151) 9050). If
152) your firewall blocks outgoing connections, punch a hole so
153) it can connect to at least TCP ports 80 and 443, and then see <a
154) href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#FirewalledClient">this
155) FAQ entry</a>. If your SELinux config is not allowing tor or privoxy to
156) run correctly, create a file named booleans.local in the directory
157) /etc/selinux/targeted. Edit this file in your favorite text editor and
158) insert "allow_ypbind=1". Restart your machine for this change to take
159) effect.
160) </p>
161)
162) <p>If it's still not working, look at <a
163) href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#ItDoesntWork">this
164) FAQ entry</a> for hints.</p>
165)
166) <hr />
167) <a id="server"></a>
168) <h2><a class="anchor" href="#server">Step Five: Configure it as a server</a></h2>
169) <br />
170)
171) <p>The Tor network relies on volunteers to donate bandwidth. The more
172) people who run servers, the faster the Tor network will be. If you have
173) at least 20 kilobytes/s each way, please help out Tor by configuring your
174) Tor to be a server too. We have many features that make Tor servers easy
175) and convenient, including rate limiting for bandwidth, exit policies so
176) you can limit your exposure to abuse complaints, and support for dynamic
177) IP addresses.</p>
178)
179) <p>Having servers in many different places on the Internet is what
180) makes Tor users secure. <a
181) href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#ServerAnonymity">You
182) may also get stronger anonymity yourself</a>,
183) since remote sites can't know whether connections originated at your
184) computer or were relayed from others.</p>
185)
|
and get the relative links...
Roger Dingledine authored 18 years ago
|
186) <p>Read more at our <a href="<page docs/tor-doc-server>">Configuring a server</a>
|
and move them to cvs/websit...
Roger Dingledine authored 18 years ago
|
187) guide.</p>
188)
189) <hr />
190)
|
add a step to tor-doc-serve...
Roger Dingledine authored 18 years ago
|
191) <p>If you have suggestions for improving this document, please <a
192) href="<page contact>">send them to us</a>. Thanks!</p>
|