tor-doc-osx.html 7.9 KB

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