tor-doc-osx.html 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <title>Tor Mac OS X Install Instructions</title>
  5. <meta name="Author" content="Thomas Hardly">
  6. <meta name="Author" content="Roger Dingledine">
  7. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  8. <meta http-equiv="Content-Style-Type" content="text/css">
  9. <link rel="stylesheet" type="text/css" href="tor-doc.css">
  10. </head>
  11. <body>
  12. <h1>Running the <a href="http://tor.eff.org/">Tor</a> client on Mac OS X</h1>
  13. <a name="installing"></a>
  14. <h2>Step One: Download and Install Tor</h2>
  15. <p>
  16. <b>Note that these are the installation instructions for running a client on
  17. Mac OS X. If you want to run a server (please do), read the "Configuring a
  18. server" section at <a href="tor-doc.html#server">tor-doc.html</a>.</b>
  19. </p>
  20. <p>
  21. This document was updated $Date$.
  22. </p>
  23. <p>
  24. The latest beta release of Tor for Macintosh OS X is <a
  25. href="http://tor.eff.org/dist/osx/Tor 0.1.1.2-alpha Bundle.dmg">0.1.1.2-alpha</a>.
  26. Download it by clicking the link. You may be able to find experimental versions
  27. <a href="http://tor.freehaven.net/dist/osx/">here</a>, if you're looking for
  28. new features and new bugs.
  29. </p>
  30. <p>Our Tor installer should make everything pretty simple. Below is a
  31. screenshot of the setup page (your version will probably be newer than
  32. the version printed in this screenshot):
  33. </p>
  34. <img alt="tor installer splash page"
  35. src="http://tor.eff.org/img/screenshot-osx-installer-splash.png"
  36. border="1">
  37. <p>
  38. By default, Tor is configured to run at startup. If you do not want Tor to
  39. run on startup, you can disable this by selecting "Customize" in the
  40. Installer, and then un-checking the "Tor Startup Script" box. Be sure to
  41. leave the other boxes checked.
  42. </p>
  43. <p>Once the installer is finished and your computer restarts, Tor will
  44. start automatically. Tor comes configured as a client by default. It
  45. uses a built-in default configuration file in <tt>/Library/Tor/torrc</tt>,
  46. but most people won't need to change any of the settings. Tor is now
  47. installed.</p>
  48. <p>Privoxy is installed as part of the Tor bundle package
  49. installer. Privoxy is a filtering web proxy that integrates well with
  50. Tor. Once it's installed, it will start automatically when your computer
  51. is restarted.
  52. </p>
  53. <p>You do not need to configure Privoxy to use Tor. A custom Privoxy
  54. configuration for Tor has been installed as part of the installer package.
  55. </p>
  56. <a name="using"></a>
  57. <h2>Step Two: Configure your applications to use Tor</h2>
  58. <p>After installing Tor and Privoxy, you need to configure your
  59. applications to use them. The first step is to set up web browsing.</p>
  60. <p>If you're using Firefox (we recommend it), check out our <a
  61. href="tor-switchproxy.html">Tor SwitchProxy howto</a> to set up
  62. a plugin that makes it easy to switch between using Tor and using a
  63. direct connection.</p>
  64. <p>Otherwise, you need to manually configure your browser to HTTP proxy
  65. at localhost port 8118.
  66. (That's where Privoxy listens.)
  67. In Mozilla, this is in Mozilla|Preferences|Advanced|Proxies.
  68. You should set both your Web Proxy (HTTP) and your Secure Web Proxy
  69. (HTTPS or SSL) to localhost port 8118, to hide your SSL traffic too.
  70. You should consider configuring your "FTP Proxy" too; see <a
  71. href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#FtpProxy">this
  72. note</a> about Tor and ftp proxies.
  73. </p>
  74. <p>If you want to use Tor with Safari, you need to change your
  75. Network Settings. Select your Network Preferences from the Apple |
  76. Location menu:</p>
  77. <img alt="Network settings"
  78. src="http://tor.eff.org/img/screenshot-osx-choose-network.png"
  79. border="1">
  80. <p>Select the Network Interface on which you want to enable Tor. If you use
  81. more than one Interface you must change the proxy settings for each
  82. individually.</p>
  83. <img alt="Network preferences"
  84. src="http://tor.eff.org/img/screenshot-osx-choose-interface.png"
  85. border="1">
  86. <p>
  87. <p>Select and enter 127.0.0.1 and port 8118 for both
  88. Web Proxy (HTTP) and your Secure Web Proxy (HTTPS).
  89. You should also do this for "FTP Proxy" and "Gopher Proxy"; see <a
  90. href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#FtpProxy">this
  91. note</a> about Tor and ftp proxies. Leave your Use Passive FTP Mode
  92. (PASV) setting as is.</p>
  93. <img alt="Proxy settings"
  94. src="http://tor.eff.org/img/screenshot-osx-proxy-settings.png"
  95. border="1">
  96. <p>Using privoxy is <strong>necessary</strong> because <a
  97. href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#SOCKSAndDNS">browsers
  98. leak your
  99. DNS requests when they use a SOCKS proxy directly</a>, which is bad for
  100. your anonymity. Privoxy also removes certain dangerous headers from your
  101. web requests, and blocks obnoxious ad sites like Doubleclick.</p>
  102. <p>To Torify other applications that support HTTP proxies, just
  103. point them at Privoxy (that is, localhost port 8118). To use SOCKS
  104. directly (for instant messaging, Jabber, IRC, etc), you can point
  105. your application directly at Tor (localhost port 9050), but see <a
  106. href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#SOCKSAndDNS">this
  107. FAQ entry</a> for why this may be dangerous. For applications
  108. that support neither SOCKS nor HTTP, take a look at <a
  109. href="http://www.taiyo.co.jp/~gotoh/ssh/connect.html">connect</a> or
  110. <a href="http://www.dest-unreach.org/socat/">socat</a>.</p>
  111. <p>For information on how to Torify other applications, check out the
  112. <a href="http://wiki.noreply.org/wiki/TheOnionRouter/TorifyHOWTO">Torify
  113. HOWTO</a>.
  114. </p>
  115. <a name="verify"></a>
  116. <h2>Step Three: Make sure it's working</h2>
  117. <p>
  118. <a href="http://ipid.shat.net">ipid.shat.net</a> and
  119. <a href="http://www.showmyip.com/">showmyip.com</a>
  120. are sites that show what IP address and country you appear to be coming
  121. from.
  122. </p>
  123. <p>If you don't know your current public IP address, this may not be a
  124. very useful test. To learn your IP address, run "<tt>ifconfig</tt>".
  125. If you are behind a NAT or firewall, though, you won't be able
  126. to learn your public IP address. In this case, you should 1) configure
  127. your browser to connect directly (that is, stop using Privoxy), 2) check
  128. your IP address with one of the sites above, 3) point your browser back
  129. to Privoxy, and 4) see whether your IP address has changed.
  130. </p>
  131. <p>If you have a personal firewall that limits your computer's
  132. ability to connect to itself, be sure to allow connections from
  133. your local applications to local port 8118 and port 9050. If
  134. your firewall blocks outgoing connections, punch a hole so
  135. it can connect to at least TCP ports 80 and 443, and then see <a
  136. href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#FirewalledClient">this
  137. FAQ entry</a>.
  138. </p>
  139. <p>If it's still not working, look at <a
  140. href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#ItDoesntWork">this
  141. FAQ entry</a> for hints.</p>
  142. <a name="uninstall"></a>
  143. <h2>How To Uninstall Tor and Privoxy</h2>
  144. <p>The Tor 0.1.0.x series does not come with an uninstaller; this feature
  145. will be added in the 0.1.1.x series. If you want to remove Tor on OSX,
  146. here's how:</p>
  147. <p>Change your application proxy settings back to their original values.
  148. If you just want to stop using Tor, you can end at this point.</p>
  149. <p>To stop Tor and Privoxy from running on startup</b>, remove the
  150. /Library/StartupItems/Tor and /Library/StartupItems/Privoxy directories
  151. respectively. If you just want to stop Tor from running, you can end at this
  152. point.</p>
  153. <p>To erase all remaining Tor and Privoxy files from your computer, delete
  154. the following:
  155. <ul>
  156. <li>/Library/Tor</li>
  157. <li>/Library/Privoxy</li>
  158. <li>/usr/bin/tor</li>
  159. <li>/usr/bin/tor_resolve</li>
  160. <li>/var/log/tor</li>
  161. <li>/usr/share/man/man1/tor.1</li>
  162. <li>/usr/share/man/man1/tor-resolve.1</li>
  163. <li>/usr/share/man/man1/torify.1</li>
  164. <li>/Library/Receipts/Privoxy.pkg/</li>
  165. <li>/Library/Receipts/privoxyconf.pkg/</li>
  166. <li>/Library/Receipts/Tor.pkg/</li>
  167. <li>/Library/Receipts/torstartup.pkg/</li>
  168. </ul>
  169. </p>
  170. <hr />
  171. <p>If you have suggestions for improving this document, please post
  172. them on <a href="http://bugs.noreply.org/tor">our bugtracker</a> in the
  173. website category. Thanks!</p>
  174. <p>$Id$</p>
  175. </body>
  176. </html>