tor-doc-osx.html 10 KB

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