tor-doc-osx.html 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  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 SwitchProxy Install Instructions</title>
  6. <meta name="Author" content="Roger Dingledine" />
  7. <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
  8. <link rel="stylesheet" type="text/css" href="http://tor.eff.org/stylesheet.css" />
  9. <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
  10. </head>
  11. <body>
  12. <!-- TITLE BAR & NAVIGATION -->
  13. <table class="banner" border="0" cellpadding="0" cellspacing="0">
  14. <tr>
  15. <td class="banner-left"></td>
  16. <td class="banner-middle">
  17. <a href="/index.html">Home</a>
  18. | <a href="/howitworks.html">How It Works</a>
  19. | <a href="/download.html">Download</a>
  20. | <a href="/documentation.html">Docs</a>
  21. | <a href="/users.html">Users</a>
  22. | <a href="/faq.html">FAQs</a>
  23. | <a href="/volunteer.html">Volunteer</a>
  24. | <a href="/developers.html">Developers</a>
  25. | <a href="/research.html">Research</a>
  26. | <a href="/people.html">People</a>
  27. </td>
  28. <td class="banner-right"></td>
  29. </tr>
  30. </table>
  31. <!-- END TITLE BAR & NAVIGATION -->
  32. <div class="center">
  33. <div class="main-column">
  34. <h1>Running the <a href="http://tor.eff.org/">Tor</a> client on Mac OS X</h1>
  35. <br />
  36. <p>
  37. <b>Note that these are the installation instructions for running a Tor client on
  38. Mac OS X. If you want to run a server (please do), read the "Configuring a
  39. server" section at <a href="tor-doc.html#server">tor-doc.html</a>.</b>
  40. </p>
  41. <hr />
  42. <a id="installing"></a>
  43. <h2><a class="anchor" href="#installing">Step One: Download and Install Tor</a></h2>
  44. <br />
  45. <p>
  46. The latest beta release of Tor for Macintosh OS X is <a
  47. href="http://tor.eff.org/dist/osx/Tor 0.1.1.3-alpha Bundle.dmg">0.1.1.3-alpha</a>.
  48. Download it by clicking the link. You may be able to find experimental versions
  49. <a href="http://tor.freehaven.net/dist/osx/">here</a>, if you're looking for
  50. new features and new bugs.
  51. </p>
  52. <p>Our Tor installer should make everything pretty simple. Below is a
  53. screenshot of the setup page (your version will probably be newer than
  54. the version printed in this screenshot):
  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="uninstall"></a>
  170. <h2><a class="anchor" href="#uninstall">How To Uninstall Tor and Privoxy</a></h2>
  171. <br />
  172. <p>The Tor 0.1.0.x series does not come with an uninstaller; this feature
  173. will be added in the 0.1.1.x series. If you want to remove Tor on OSX,
  174. here's how:</p>
  175. <p>Change your application proxy settings back to their original values.
  176. If you just want to stop using Tor, you can end at this point.</p>
  177. <p>To stop Tor and Privoxy from running on startup</b>, remove the
  178. /Library/StartupItems/Tor and /Library/StartupItems/Privoxy directories
  179. respectively. If you just want to stop Tor from running, you can end at this
  180. point.</p>
  181. <p>To erase all remaining Tor and Privoxy files from your computer, delete
  182. the following:
  183. <ul>
  184. <li>/Library/Tor</li>
  185. <li>/Library/Privoxy</li>
  186. <li>/usr/bin/tor</li>
  187. <li>/usr/bin/tor_resolve</li>
  188. <li>/var/log/tor</li>
  189. <li>/usr/share/man/man1/tor.1</li>
  190. <li>/usr/share/man/man1/tor-resolve.1</li>
  191. <li>/usr/share/man/man1/torify.1</li>
  192. <li>/Library/Receipts/Privoxy.pkg/</li>
  193. <li>/Library/Receipts/privoxyconf.pkg/</li>
  194. <li>/Library/Receipts/Tor.pkg/</li>
  195. <li>/Library/Receipts/torstartup.pkg/</li>
  196. </ul>
  197. </p>
  198. <hr />
  199. <p>If you have suggestions for improving this document, please post
  200. them on <a href="http://bugs.noreply.org/tor">our bugtracker</a> in the
  201. website category. Thanks!</p>
  202. </div><!-- #main -->
  203. </div>
  204. <div class="bottom" id="bottom">
  205. <i><a href="mailto:tor-webmaster@freehaven.net"
  206. class="smalllink">Webmaster</a></i> - $Id$
  207. </div>
  208. </body>
  209. </html>