tor-doc-win32.html 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <title>Tor MS Windows Install Instructions</title>
  5. <meta name="Author" content="Roger Dingledine">
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  7. <meta http-equiv="Content-Style-Type" content="text/css">
  8. <link rel="stylesheet" type="text/css" href="tor-doc.css">
  9. </head>
  10. <body>
  11. <h1>Running the <a href="http://tor.eff.org/">Tor</a> client on MS Windows</h1>
  12. <a name="installing"></a>
  13. <h2>Step One: Download and Install Tor</h2>
  14. <p>
  15. <b>Note that these are the installation instructions for running a
  16. client on MS Windows (98, 98SE, NT4, 2000, XP, Server)
  17. If you want to run a server (please do), read the "Configuring a server" section at
  18. <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 MS Windows is
  25. <a href="http://tor.eff.org/dist/win32/tor-0.1.1.2-alpha-win32.exe">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.eff.org/dist/win32/">here</a>, if you're looking for
  28. new features and new bugs.
  29. </p>
  30. <p>
  31. If you want to run Tor in the system
  32. tray and/or as a service have a look at this <a
  33. href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#Win32SystemTrayService">FAQ
  34. entry</a>. If you dont mind running in a window (so you can see its logs
  35. and errors) our Tor installer should make everything pretty simple. Below
  36. is a screenshot of the setup page (your version will probably be newer
  37. than the version printed in this screenshot):
  38. </p>
  39. <img alt="tor installer splash page"
  40. src="http://tor.eff.org/img/screenshot-win32-installer-splash.png" />
  41. <p>
  42. By default, Tor is not configured to run at startup.
  43. <!--We highly recommend that you enable that feature, however. -->
  44. You can enable this by checking the "Run at startup" box as shown below.
  45. Be sure to leave the other boxes checked.
  46. </p>
  47. <img alt="select components to install"
  48. src="http://tor.eff.org/img/screenshot-win32-installer-components.png" />
  49. <p>Once the installer is finished, it will run Tor in a window so
  50. you can see its logs and errors. (When you wish to browse anonymously,
  51. you may minimize this window, but do not close it.)
  52. </p>
  53. <img alt="tor window screenshot"
  54. src="http://tor.eff.org/img/screenshot-win32-dos-window.png" />
  55. <p>Tor comes configured as a client by default. It uses a built-in
  56. default configuration file, and most people won't need to change any of
  57. the settings. Tor is now installed. <!--Close the Tor client for now by
  58. closing the cmd window.-->
  59. </p>
  60. <a name="privoxy"></a>
  61. <h2>Step Two: Install Privoxy for Web Browsing</h2>
  62. <p>After installing Tor, you need to configure your applications to use it.
  63. </p>
  64. <p>
  65. The first step is to set up web browsing. Start by installing <a
  66. href="http://www.privoxy.org/">Privoxy</a> (click on 'recent releases',
  67. then scroll down to the MS Windows installer packages). Privoxy is a filtering
  68. web proxy that integrates well with Tor. Once it's installed, it should
  69. appear in your system tray as a "P" in a circle, as pictured below:
  70. <!-- Exit from
  71. Privoxy for now by right clicking on the "P" icon and finding the exit option.-->
  72. </p>
  73. <img alt="privoxy icon in the system tray"
  74. src="http://tor.eff.org/img/screenshot-win32-privoxy-icon.jpg" />
  75. <p>You need to configure Privoxy to use Tor.
  76. Open Privoxy's main config file by selecting it from Start Menu|All
  77. Programs:
  78. </p>
  79. <img border="1" alt="editing privoxy config"
  80. src="http://tor.eff.org/img/screenshot-win32-privoxy-config.png" />
  81. <p>Add the line <br>
  82. <tt>forward-socks4a / localhost:9050 .</tt><br>
  83. to Privoxy's config file. Don't forget to add the dot at the end.
  84. The easiest way is to select the above line and copy/paste it into
  85. the file. Be sure to save.
  86. </p>
  87. <img border="1" alt="privoxy points to tor"
  88. src="http://tor.eff.org/img/screenshot-win32-privoxy-edit.png" />
  89. <p>Privoxy keeps a log file of everything passed through it. In
  90. order to stop this you will need to comment out two lines by inserting a
  91. # before the line. The two lines are:<br>
  92. <tt>logfile privoxy.log</tt><br>
  93. and the line <br>
  94. <tt>jarfile jar.log</tt><br>
  95. Be sure to save.
  96. </p>
  97. <img border="1" alt="comment out logfile"
  98. src="http://tor.eff.org/img/screenshot-win32-privoxy-edit-2.png" />
  99. <br>
  100. <img border="1" alt="comment out jarfile"
  101. src="http://tor.eff.org/img/screenshot-win32-privoxy-edit-3.png" />
  102. <br>
  103. <p>You'll need to exit and restart Privoxy for the changes to take effect:
  104. </p>
  105. <ol>
  106. <li>Right click on the Privoxy systray icon and choose "Exit Privoxy".</li>
  107. <li>Left click on Start Menu then Programs then Privoxy. Select the
  108. green "P" Privoxy icon. Privoxy should appear in your system
  109. tray again.</li>
  110. </ol>
  111. <a name="using"></a>
  112. <h2>Step Three: Configure your applications to use Tor</h2>
  113. <p>After installing Tor and Privoxy, you need to configure your
  114. applications to use them. The first step is to set up web browsing.</p>
  115. <p>If you're using Firefox (we recommend it), check out our <a
  116. href="tor-switchproxy.html">Tor SwitchProxy howto</a> to set up
  117. a plugin that makes it easy to switch between using Tor and using a
  118. direct connection.</p>
  119. <p>Otherwise, you need to manually configure your browser to HTTP proxy
  120. at localhost port 8118.
  121. (That's where Privoxy listens.)
  122. In Mozilla, this is in Edit|Preferences|Advanced|Proxies.
  123. In Opera 7.5x it's Tools|Preferences|Network|Proxy servers.
  124. In IE, it's Tools|Internet Options|Connections|LAN Settings|Advanced.
  125. You should click the "use the same proxy server for all protocols"
  126. button; but see <a
  127. href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#FtpProxy">this
  128. note</a> about Tor and ftp proxies.
  129. <!--You should also set your SSL proxy (IE calls it "Secure") to the same
  130. thing, to hide your SSL traffic too.--> In IE, this looks something like:</p>
  131. <img alt="Proxy settings in IE"
  132. src="http://tor.eff.org/img/screenshot-win32-ie-proxies.jpg" />
  133. <p>Using privoxy is <strong>necessary</strong> because <a
  134. href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#SOCKSAndDNS">browsers
  135. leak your DNS requests when they use a SOCKS proxy directly</a>, which
  136. is bad for your anonymity. Privoxy also removes certain dangerous
  137. headers from your web requests, and blocks obnoxious ad sites like
  138. Doubleclick.</p>
  139. <p>To Torify other applications that support HTTP proxies, just
  140. point them at Privoxy (that is, localhost port 8118). To use SOCKS
  141. directly (for instant messaging, Jabber, IRC, etc), you can point
  142. your application directly at Tor (localhost port 9050), but see <a
  143. href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#SOCKSAndDNS">this
  144. FAQ entry</a> for why this may be dangerous. For applications
  145. that support neither SOCKS nor HTTP, take a look at <a
  146. href="http://www.socks.permeo.com/Download/SocksCapDownload/index.asp">SocksCap</a> or
  147. <a href="http://www.freecap.ru/eng/">FreeCap</a>.
  148. (FreeCap is free software; SocksCap is proprietary.)</p>
  149. <p>For information on how to Torify other applications, check out the
  150. <a href="http://wiki.noreply.org/wiki/TheOnionRouter/TorifyHOWTO">Torify
  151. HOWTO</a>.
  152. </p>
  153. <a name="verify"></a>
  154. <h2>Step Four: Make sure it's working</h2>
  155. <p>
  156. <a href="http://ipid.shat.net">ipid.shat.net</a> and
  157. <a href="http://www.showmyip.com/">showmyip.com</a>
  158. are sites that show what IP address and country you appear to be coming
  159. from.
  160. </p>
  161. <p>If you don't know your current public IP address, this may not be a
  162. very useful test. To learn your IP address, go to the Start menu, click
  163. Run and enter "<tt>cmd</tt>". At the command prompt, enter "<tt>ipconfig
  164. /a</tt>". If you are behind a NAT or firewall, though, you won't be able
  165. to learn your public IP address. In this case, you should 1) configure
  166. your browser to connect directly (that is, stop using Privoxy), 2) check
  167. your IP address with one of the sites above, 3) point your browser back
  168. to Privoxy, and 4) see whether your IP address has changed.
  169. </p>
  170. <p>If you have a personal firewall that limits your computer's
  171. ability to connect to itself, be sure to allow connections from
  172. your local applications to local port 8118 and port 9050. If
  173. your firewall blocks outgoing connections, punch a hole so
  174. it can connect to at least TCP ports 80 and 443, and then see <a
  175. href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#FirewalledClient">this
  176. FAQ entry</a>.
  177. </p>
  178. <p>If it's still not working, look at <a
  179. href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#ItDoesntWork">this
  180. FAQ entry</a> for hints.</p>
  181. <hr />
  182. <p>If you have suggestions for improving this document, please post
  183. them on <a href="http://bugs.noreply.org/tor">our bugtracker</a> in the
  184. website category. Thanks!</p>
  185. <p>$Id$</p>
  186. </body>
  187. </html>