tor-doc-osx.html 10 KB

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