tor-doc-osx.html 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  2. "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  4. <head>
  5. <title>Tor Mac OS X Install Instructions</title>
  6. <meta name="Author" content="Roger Dingledine" />
  7. <meta name="Author" content="Thomas Hardly" />
  8. <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
  9. <link rel="stylesheet" type="text/css" href="stylesheet.css" />
  10. <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
  11. </head>
  12. <body>
  13. <!-- TITLE BAR & NAVIGATION -->
  14. <table class="banner" border="0" cellpadding="0" cellspacing="0">
  15. <tr>
  16. <td class="banner-left"></td>
  17. <td class="banner-middle">
  18. <a href="/index.html">Home</a>
  19. | <a href="/howitworks.html">How It Works</a>
  20. | <a href="/download.html">Download</a>
  21. | <a href="/documentation.html">Docs</a>
  22. | <a href="/users.html">Users</a>
  23. | <a href="/faq.html">FAQs</a>
  24. | <a href="/volunteer.html">Volunteer</a>
  25. | <a href="/developers.html">Developers</a>
  26. | <a href="/research.html">Research</a>
  27. | <a href="/people.html">People</a>
  28. </td>
  29. <td class="banner-right"></td>
  30. </tr>
  31. </table>
  32. <!-- END TITLE BAR & NAVIGATION -->
  33. <div class="center">
  34. <div class="main-column">
  35. <h1>Running the <a href="http://tor.eff.org/">Tor</a> client on Mac OS X</h1>
  36. <br />
  37. <p>
  38. <b>Note that these are the installation instructions for running a Tor client on
  39. Mac OS X. If you want to relay traffic for others to help the network
  40. grow (please do), read the <a
  41. href="tor-doc-server.html">Configuring a server</a> guide.</b>
  42. </p>
  43. <hr />
  44. <a id="installing"></a>
  45. <h2><a class="anchor" href="#installing">Step One: Download and Install Tor</a></h2>
  46. <br />
  47. <p>
  48. The latest stable and experimental releases of Tor for Macintosh
  49. OS X bundle <a href="http://tor.eff.org/">Tor</a> and <a
  50. href="http://www.privoxy.org">Privoxy</a> (a filtering web proxy)
  51. into one package, with Privoxy pre-configured to proxy through Tor.
  52. <a href="http://tor.eff.org/download">Download one from the download
  53. page</a>.
  54. </p>
  55. <p>Our Tor installer should make everything pretty simple. Below is a
  56. screenshot of the setup page:
  57. </p>
  58. <img alt="tor installer splash page"
  59. src="http://tor.eff.org/img/screenshot-osx-installer-splash.png"
  60. border="1">
  61. <p>
  62. By default, Tor is configured to run at startup. If you do not want Tor to
  63. run on startup, you can disable this by selecting "Customize" in the
  64. Installer, and then un-checking the "Tor Startup Script" box. Be sure to
  65. leave the other boxes checked.
  66. </p>
  67. <p>Once the installer is finished and your computer restarts, Tor will
  68. start automatically. Tor comes configured as a client by default. It
  69. uses a built-in default configuration file in <tt>/Library/Tor/torrc</tt>,
  70. but most people won't need to change any of the settings. Tor is now
  71. installed.</p>
  72. <p>Privoxy is installed as part of the Tor bundle package
  73. installer. Privoxy is a filtering web proxy that integrates well with
  74. Tor. Once it's installed, it will start automatically when your computer
  75. is restarted.
  76. </p>
  77. <p>You do not need to configure Privoxy to use Tor. A custom Privoxy
  78. configuration for Tor has been installed as part of the installer package.
  79. </p>
  80. <hr />
  81. <a id="using"></a>
  82. <h2><a class="anchor" href="#using">Step Two: Configure your applications to use Tor</a></h2>
  83. <br />
  84. <p>After installing Tor and Privoxy, you need to configure your
  85. applications to use them. The first step is to set up web browsing.</p>
  86. <p>If you're using Firefox (we recommend it), check out our <a
  87. href="tor-switchproxy.html">Tor SwitchProxy howto</a> to set up
  88. a plugin that makes it easy to switch between using Tor and using a
  89. direct connection.</p>
  90. <p>Otherwise, you need to manually configure your browser to HTTP proxy
  91. at localhost port 8118.
  92. (That's where Privoxy listens.)
  93. In Mozilla, this is in Mozilla|Preferences|Advanced|Proxies.
  94. You should set both your Web Proxy (HTTP) and your Secure Web Proxy
  95. (HTTPS or SSL) to localhost port 8118, to hide your SSL traffic too.
  96. You should consider configuring your "FTP Proxy" too; see <a
  97. href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#FtpProxy">this
  98. note</a> about Tor and ftp proxies.
  99. </p>
  100. <p>If you want to use Tor with Safari, you need to change your
  101. Network Settings. Select your Network Preferences from the Apple |
  102. Location menu:</p>
  103. <img alt="Network settings"
  104. src="http://tor.eff.org/img/screenshot-osx-choose-network.png"
  105. border="1">
  106. <p>Select the Network Interface on which you want to enable Tor. If you use
  107. more than one Interface you must change the proxy settings for each
  108. individually.</p>
  109. <img alt="Network preferences"
  110. src="http://tor.eff.org/img/screenshot-osx-choose-interface.png"
  111. border="1">
  112. <p>
  113. <p>Select and enter 127.0.0.1 and port 8118 for both
  114. Web Proxy (HTTP) and your Secure Web Proxy (HTTPS).
  115. You should also do this for "FTP Proxy" and "Gopher Proxy"; see <a
  116. href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#FtpProxy">this
  117. note</a> about Tor and ftp proxies. Leave your Use Passive FTP Mode
  118. (PASV) setting as is.</p>
  119. <img alt="Proxy settings"
  120. src="http://tor.eff.org/img/screenshot-osx-proxy-settings.png"
  121. border="1">
  122. <p>Using privoxy is <strong>necessary</strong> because <a
  123. href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#SOCKSAndDNS">browsers
  124. leak your
  125. DNS requests when they use a SOCKS proxy directly</a>, which is bad for
  126. your anonymity. Privoxy also removes certain dangerous headers from your
  127. web requests, and blocks obnoxious ad sites like Doubleclick.</p>
  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://www.taiyo.co.jp/~gotoh/ssh/connect.html">connect</a> or
  136. <a href="http://www.dest-unreach.org/socat/">socat</a>.</p>
  137. <p>For information on how to Torify other applications, check out the
  138. <a href="http://wiki.noreply.org/wiki/TheOnionRouter/TorifyHOWTO">Torify
  139. HOWTO</a>.
  140. </p>
  141. <hr />
  142. <a id="verify"></a>
  143. <h2><a class="anchor" href="#verify">Step Three: Make sure it's working</a></h2>
  144. <br />
  145. <p>
  146. Next, you should try using your browser with Tor and make
  147. sure that your IP address is being anonymized. Click on the <a
  148. href="http://serifos.eecs.harvard.edu/cgi-bin/ipaddr.pl?tor=1">Tor
  149. detector</a> and see whether it thinks you're using Tor or not.
  150. (If that site is down, see <a
  151. href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#IsMyConnectionPrivate">this
  152. FAQ entry</a> for more suggestions on how to test your Tor.)
  153. </p>
  154. <p>If you have a personal firewall that limits your computer's
  155. ability to connect to itself, be sure to allow connections from
  156. your local applications to local port 8118 and port 9050. If
  157. your firewall blocks outgoing connections, punch a hole so
  158. it can connect to at least TCP ports 80 and 443, and then see <a
  159. href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#FirewalledClient">this
  160. FAQ entry</a>.
  161. </p>
  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. <hr />
  166. <a id="server"></a>
  167. <h2><a class="anchor" href="#server">Step Four: Configure it as a server</a></h2>
  168. <br />
  169. <p>The Tor network relies on volunteers to donate bandwidth. The more
  170. people who run servers, the faster the Tor network will be. If you have
  171. at least 20 kilobytes/s each way, please help out Tor by configuring your
  172. Tor to be a server too. We have many features that make Tor servers easy
  173. and convenient, including rate limiting for bandwidth, exit policies so
  174. you can limit your exposure to abuse complaints, and support for dynamic
  175. IP addresses.</p>
  176. <p>Having servers in many different places on the Internet is what
  177. makes Tor users secure. <a
  178. href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#ServerAnonymity">You
  179. may also get stronger anonymity yourself</a>,
  180. since remote sites can't know whether connections originated at your
  181. computer or were relayed from others.</p>
  182. <p>Read more at our <a href="tor-doc-server.html">Configuring a server</a>
  183. guide.</p>
  184. <hr />
  185. <a id="uninstall"></a>
  186. <h2><a class="anchor" href="#uninstall">How To Uninstall Tor and Privoxy</a></h2>
  187. <br />
  188. <p>The Tor 0.1.0.x series does not come with an uninstaller; this feature
  189. will be added in the 0.1.1.x series. If you want to remove Tor on OSX,
  190. here's how:</p>
  191. <p>Change your application proxy settings back to their original values.
  192. If you just want to stop using Tor, you can end at this point.</p>
  193. <p>To stop Tor and Privoxy from running on startup</b>, remove the
  194. /Library/StartupItems/Tor and /Library/StartupItems/Privoxy directories
  195. respectively. If you just want to stop Tor from running, you can end at this
  196. point.</p>
  197. <p>To erase all remaining Tor and Privoxy files from your computer, delete
  198. the following:
  199. <ul>
  200. <li>/Library/Tor</li>
  201. <li>/Library/Privoxy</li>
  202. <li>/usr/bin/tor</li>
  203. <li>/usr/bin/tor_resolve</li>
  204. <li>/var/log/tor</li>
  205. <li>/usr/share/man/man1/tor.1</li>
  206. <li>/usr/share/man/man1/tor-resolve.1</li>
  207. <li>/usr/share/man/man1/torify.1</li>
  208. <li>/Library/Receipts/Privoxy.pkg/</li>
  209. <li>/Library/Receipts/privoxyconf.pkg/</li>
  210. <li>/Library/Receipts/Tor.pkg/</li>
  211. <li>/Library/Receipts/torstartup.pkg/</li>
  212. </ul>
  213. </p>
  214. <hr />
  215. <p>If you have suggestions for improving this document, please post
  216. them on <a href="http://bugs.noreply.org/tor">our bugtracker</a> in the
  217. website category. Thanks!</p>
  218. </div><!-- #main -->
  219. </div>
  220. <div class="bottom" id="bottom">
  221. <i><a href="mailto:tor-webmaster@freehaven.net"
  222. class="smalllink">Webmaster</a></i> - $Id$
  223. </div>
  224. </body>
  225. </html>