Changes between Version 2 and Version 3 of TorRelayGuide/Windows


Ignore:
Timestamp:
Jul 13, 2018, 6:00:15 AM (12 months ago)
Author:
Jaruga
Comment:

update

Legend:

Unmodified
Added
Removed
Modified
  • TorRelayGuide/Windows

    v2 v3  
     1[[TOC(depth=5)]]
    12= Relay Setup Guide for Windows 10 =
    2 Setting 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.
     3Setting up a Windows system as a relay requires performing a few simple steps to set up a user account, 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.
    34
    4 === Downloading and configuring the Tor Expert bundle ===
     5== Creating a user account for Tor ==
     6
     7First you will need to create a new account to allow Tor to run isolated from your personal configuration as well as have manageable system permissions.
     8
     91. To begin, open your Control Panel and select 'Accounts'.
     10
     112. On the left-side menu, select 'Family & other people'.
     12
     133. Beside the 'Add another user to this PC' subheader, click the large {{{+}}} sign.
     14
     154. A panel will now appear asking for the Windows account information. On the bottom, select the small text that states "I do not have this users sign-in information".
     16
     175. On the next panel, select the similar text on the bottom stating "Set up user without using a Microsoft account".
     18
     196. Enter a username for the user. Anything you like is fine, though within this guide the username {{{torrelay}}} will  be used. Then enter a strong password and continue.
     20
     21== Downloading and configuring the Tor Expert bundle ==
     22The next step is to download and install the Expert bundle as well as set up your torrc file.
    523
    6241. 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.
    725
    8 2. Head to your {{{C:\}}} directory. Create a folder called {{{tor}}}.
     262. Head to your {{{C:\Users\torrelay\}}} directory. Create a folder called {{{tor}}}.
    927  * (Optional. A custom path can be used, though you will have to make necessary modifications in the following steps.)
    1028 
    11293. Unpack the zipped Expert bundle into your newly created Tor directory. Two files will be placed there; one called {{{Tor}}}, and the other {{{Data}}}.
    1230
    13 4. 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)
     314. 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\torrelay\AppData\Roaming\tor\torrc}}}, though you can specify a custom location at commandline startup with the {{{-f}}} flag. (More below)
    1432
    15335. Open up your newly created {{{torrc}}} file in your text editor and populate it with the following contents:
     
    2240SocksPort 0
    2341
    24 # Paths assume you extracted to C:\tor - if you extracted elsewhere, adjust the paths accordingly
    25 DataDirectory C:\tor\Data
    26 Log notice file C:\tor\log\notices.log
    27 GeoIPFile C:\tor\Data\Tor\geoip
    28 GeoIPv6File C:\tor\Data\Tor\geoip6
     42# Paths assume you extracted to C:\Users\torrelay\tor - if you
     43# extracted elsewhere or used a different username, adjust the
     44# paths accordingly
     45
     46DataDirectory C:Users\torrelay\tor\Data
     47Log notice file C:Users\torrelay\tor\log\notices.log
     48GeoIPFile C:Users\torrelay\tor\Data\Tor\geoip
     49GeoIPv6File C:Users\torrelay\tor\Data\Tor\geoip6
    2950
    3051# Put your email below - Note that it will be published on the metrics page
     
    3354Make sure everything is filled in correctly, then save and exit.
    3455
    35 === Starting up your relay ===
     56== Starting up your relay ==
     57There are two methods for starting up your relay for the first time depending on your preferences and needs.
     58
     59=== Method 1: User interface ===
     601. Navigate to the directory you extracted Tors files.
     61
     622. Simply right-click on the {{{tor.exe}}} file and select 'Run as other user' from the drop-down menu, and enter the password for your Tor account when prompted.
     63
     64 * '''Note:''' Be sure '''not''' to click the 'Run as administrator' button - this is dangerous!
     65
     66=== Method 2: Command line ===
    36671. Open your command prompt. Navigate to {{{C:\tor\Tor}}} with the command {{{cd C:\tor\Tor}}}
    3768