Changes between Version 1 and Version 2 of TorRelayGuide/Windows


Ignore:
Timestamp:
Jul 12, 2018, 6:49:38 PM (4 months ago)
Author:
phoul
Comment:

Push changes for Jaruga

Legend:

Unmodified
Added
Removed
Modified
  • TorRelayGuide/Windows

    v1 v2  
    1 = Windows relaying Guide =
     1= Relay Setup Guide for Windows 10 =
     2Setting up a Windows system as a relay requires performing a few simple steps to download the expert bundle, implement a torrc configuration file and start up Tor from the command line. Below are detailed instructions on how to perform these steps - please ensure you follow them very carefully, and make any of the necessary modifications outlined along the way.
     3
     4=== Downloading and configuring the Tor Expert bundle ===
     5
     61. Head over to ​the official [https://www.torproject.org/download/download.html.en Tor download page] and select the 'Windows' drop-down menu. The second option should be the expert bundle - download it, and verify the checksum if desired.
     7
     82. Head to your {{{C:\}}} directory. Create a folder called {{{tor}}}.
     9  * (Optional. A custom path can be used, though you will have to make necessary modifications in the following steps.)
     10 
     113. Unpack the zipped Expert bundle into your newly created Tor directory. Two files will be placed there; one called {{{Tor}}}, and the other {{{Data}}}.
     12
     134. You will now need to create a torrc file to define the ruleset of your relay. The default directory path for this file is {{{C:\Users\YOURUSERNAME\AppData\Roaming\tor\torrc}}}, though you can specify a custom location at startup with the {{{-f}}} flag. (More below)
     14
     155. Open up your newly created {{{torrc}}} file in your text editor and populate it with the following contents:
     16{{{
     17# Change the nickname "myNiceRelay" to a name that you like
     18Nickname myNiceRelay
     19
     20ORPort 9001
     21ExitRelay 0
     22SocksPort 0
     23
     24# Paths assume you extracted to C:\tor - if you extracted elsewhere, adjust the paths accordingly
     25DataDirectory C:\tor\Data
     26Log notice file C:\tor\log\notices.log
     27GeoIPFile C:\tor\Data\Tor\geoip
     28GeoIPv6File C:\tor\Data\Tor\geoip6
     29
     30# Put your email below - Note that it will be published on the metrics page
     31ContactInfo tor-operator@your-emailaddress-domain
     32}}}
     33Make sure everything is filled in correctly, then save and exit.
     34
     35=== Starting up your relay ===
     361. Open your command prompt. Navigate to {{{C:\tor\Tor}}} with the command {{{cd C:\tor\Tor}}}
     37
     382. Type {{{tor.exe}}} and press enter. If you have your {{{torrc}}} file somewhere other than the default location (Like the {{{C:\tor\}}} folder), specify the path with the {{{-f}}} flag.
     39  * Example: {{{tor.exe -f C:\tor\Tor\torrc}}}
     40
     413. You should now see Tor starting up in your terminal. Wait until its finished bootstrapping. After a short period it should publish its OrPort, and you will be successfully relaying traffic for the Tor Network.
     42  * '''Notice:''' Depending on your systems settings, Tor may fail to start and produce an error indicating it is unable to create files. If this occurs, simply open the Windows Defender Security Center and select "App & browser control". Add the {{{tor.exe}}} file to the permissions list, then rerun {{{tor.exe}}} from the command line. Tor should now start up normally.