tor-doc-osx.html 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  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. The process looks something like:</p>
  76. <img alt="Network settings"
  77. src="http://tor.eff.org/img/screenshot-osx-choose-network.png"
  78. border="1">
  79. <p>
  80. Select your Network Preferences from the Apple | Location menu.</p>
  81. <img alt="Network preferences"
  82. src="http://tor.eff.org/img/screenshot-osx-choose-interface.png"
  83. border="1">
  84. <P>
  85. <p>Select the Network Interface you want to enable Tor on. If you use
  86. more than one Interface you must change the proxy settings for each
  87. individually.</p>
  88. <img alt="Proxy settings"
  89. src="http://tor.eff.org/img/screenshot-osx-proxy-settings.png"
  90. border="1">
  91. <p>Select and enter 127.0.0.1 and port 8118 for both
  92. Web Proxy (HTTP) and your Secure Web Proxy (HTTPS).
  93. You should consider clicking on "FTP Proxy" too; see <a
  94. href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#FtpProxy">this
  95. note</a> about Tor and ftp proxies. Leave your Use Passive FTP Mode
  96. (PASV) setting as is.</p>
  97. <p>Using privoxy is <strong>necessary</strong> because <a
  98. href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#SOCKSAndDNS">browsers
  99. leak your
  100. DNS requests when they use a SOCKS proxy directly</a>, which is bad for
  101. your anonymity. Privoxy also removes certain dangerous headers from your
  102. web requests, and blocks obnoxious ad sites like Doubleclick.</p>
  103. <p>To Torify other applications that support HTTP proxies, just
  104. point them at Privoxy (that is, localhost port 8118). To use SOCKS
  105. directly (for instant messaging, Jabber, IRC, etc), you can point
  106. your application directly at Tor (localhost port 9050), but see <a
  107. href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#SOCKSAndDNS">this
  108. FAQ entry</a> for why this may be dangerous. For applications
  109. that support neither SOCKS nor HTTP, take a look at <a
  110. href="http://www.taiyo.co.jp/~gotoh/ssh/connect.html">connect</a> or
  111. <a href="http://www.dest-unreach.org/socat/">socat</a>.</p>
  112. <p>For information on how to Torify other applications, check out the
  113. <a href="http://wiki.noreply.org/wiki/TheOnionRouter/TorifyHOWTO">Torify
  114. HOWTO</a>.
  115. </p>
  116. <a name="verify"></a>
  117. <h2>Step Three: Make sure it's working</h2>
  118. <p>
  119. <a href="http://ipid.shat.net">ipid.shat.net</a> and
  120. <a href="http://www.showmyip.com/">showmyip.com</a>
  121. are sites that show what IP address and country you appear to be coming
  122. from.
  123. </p>
  124. <p>If you don't know your current public IP address, this may not be a
  125. very useful test. To learn your IP address, run <tt>ifconfig</tt>.
  126. If you are behind a NAT or firewall, though, you won't be able
  127. to learn your public IP address. In this case, you should 1) configure
  128. your browser to connect directly (that is, stop using Privoxy), 2) check
  129. your IP address with one of the sites above, 3) point your browser back
  130. to Privoxy, and 4) see whether your IP address has changed.
  131. </p>
  132. <p> If you have a personal firewall that limits your computer's
  133. ability to connect to itself, be sure to allow connections from
  134. your local applications to local port 8118 and port 9050. If
  135. your firewall blocks outgoing connections, punch a hole so
  136. it can connect to at least TCP ports 80 and 443, and then see <a
  137. href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#FirewalledClient">this
  138. FAQ entry</a>.
  139. </p>
  140. <a name="uninstall"></a>
  141. <h2>How To Uninstall Tor and Privoxy</h2>
  142. <p>The Tor 0.1.0.x series does not come with an uninstaller; this feature
  143. will be added in the 0.1.1.x series. If you want to remove Tor on OSX,
  144. here's how:</p>
  145. <p>Change your application proxy settings back to their original values.
  146. If you just want to stop using Tor, you can end at this point.</p>
  147. <p>To stop Tor and Privoxy from running on startup</b>, remove the
  148. /Library/StartupItems/Tor and /Library/StartupItems/Privoxy directories
  149. respectively. If you just want to stop Tor from running, you can end at this
  150. point.</p>
  151. <p>To erase all remaining Tor and Privoxy files from your computer, delete
  152. the following:
  153. <ul>
  154. <li>/Library/Tor</li>
  155. <li>/Library/Privoxy</li>
  156. <li>/usr/bin/tor</li>
  157. <li>/usr/bin/tor_resolve</li>
  158. <li>/var/log/tor</li>
  159. <li>/usr/share/man/man1/tor.1</li>
  160. <li>/usr/share/man/man1/tor-resolve.1</li>
  161. <li>/usr/share/man/man1/torify.1</li>
  162. </ul>
  163. </p>
  164. <hr />
  165. <p>If you have suggestions for improving this document, please post
  166. them on <a href="http://bugs.noreply.org/tor">our bugtracker</a> in the
  167. website category. Thanks!</p>
  168. <p>$Id$</p>
  169. </body>
  170. </html>