tor-doc-osx.html 9.6 KB

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