This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tutorial:tor [2019/06/12 14:35]
allien created
tutorial:tor [2020/07/24 12:53] (current)
Line 1: Line 1:
-# Particl as Tor Hidden Service+Using Particl with Tor
 <lead> <lead>
-Tor hidden service conceals your IP address and thus your privacy+Anonymize your IP address with Tor when using [Particl Desktop](tutorial:particl-desktop:and/or [Open Marketplace](learn:market:)
 </lead> </lead>
-It also protects your machine from geolocation and its possible ugly consequences, and automatically sets you up for both incoming and outgoing connections, helping the Particl network. It is recommended to **always run the Particl through Tor**.+The only privacy protocol that’s not enabled by default on Particl Desktop is the ability to hide your IP address using the Tor network.
-<callout icon="fa fa-linux"> +While it could eventually be enabled by default or through the Settings page, Tor currently needs to be activated manually to route your Particl Desktop connection through its network. Don’t worry, it’s not complicated at all and will only take you a few minutes.
-This guide is written purely for Linux (specificaly Ubuntu-based distributions). +
-## 0. Download Particl wallet+## Enable Tor on Particl Desktop
-If you don't have a Particl wallet yet, [download it](learn:wallets:) (we highly recommend [verifying wallet checksums](tutorial:verify-downloads) before installing) and then install it.+There are currently 3 ways of using Particl Desktop through Tor network. Choose the one that fits you best:
 +### Using the Tor Browser
-## 1. Install Tor+The easiest way to enable the Tor network on Particl Desktop is probably by using the same connection being used by the Tor Browser. To do that, follow these steps:
-At a command prompt just enter `tor`.+1. Download, install and launch the **[Tor Browser](https://www.torproject.org/download/)** 
 +2. Connect to the Tor network by clicking on `Connector configure your connection parameters by clicking on `Configure` 
 +3Once connected, leave the Tor Browser running in the background 
 +4. Open a terminal and go to the folder you’ve installed your Particl Desktop executable file 
 +5. Launch Particl Desktop with the `-proxy=` argument
-  $ tor+---
-If it is already running, you should get an error message that says something like Is tor already running?” That's good if you do.+- **Windows**: `Particl Desktop.exe” -proxy=` 
 +- **MacOS**: `./Particl\ Desktop.app/Contents/MacOS/Particl\ Desktop -proxy=` 
 +- **Linux**: `./Particl\ Desktop -proxy=` 
 +    - if installed with .deb package: `particl-desktop -proxy=`
-If not, install Tor with these commands: 
-  $ sudo apt-get install tor+### Using the Tor Daemon
 +The Tor Browser method is quite easy, but if you don’t want to run the Tor Browser alongside Particl Desktop, you can only run the Tor daemon instead. This Tor daemon will run seamlessly in the background and won’t bother you with a browser that you need to keep open.
-## 2. Define HS in Tor config+<tabs> 
 +  * {{fa>windows?fw}} [[#daemon-win|Windows]] 
 +  * {{fa>apple?fw}} [[#daemon-macos|macOS]] 
 +  * {{fa>linux?fw}} [[#daemon-linux|Linux]] 
 +<pane id="daemon-win"> 
 +=== Windows ===
-  $ sudo nano /etc/tor/torrc+1. Download and install the [Tor Browser](https://www.torproject.org/download/
 +2. Open the Windows File Explorer and navigate to the directory in which you’ve installed the Tor Browser (i.e. `C:\Tor Browser\`) 
 +3. Go into the `Browser\TorBrowser\Tor` directory 
 +4. Hold down the `Shift` key and right-click on the Tor folder → _Open command window here_ 
 +5. In the terminal that pops up, type `tor.exe –service install` 
 +6. Tor should now be running as a Windows service. To verify, hold down the {{fa>windows}} key and press `R` key to open up the Run window. Then, type `services.msc` and then press `OK` 
 +7. You should see Tor running as a service somewhere in the list 
 +8. Go to the folder where your Particl Desktop executable is located 
 +9. Hold down the `Shift` key and right-click on the Tor folder → _Open command window here_ 
 +10. Launch Particl Desktop and route its connection through Tor by typing `“Particl Desktop.exe” -proxy=`
-We need to add our config to the Tor configuration file which will signal Tor to create a hidden service.+</pane> 
 +<pane id="daemon-macos"> 
 +=== macOS ===
-  HiddenServiceDir /var/lib/tor/particl-service/ +1. Open a terminal 
-  HiddenServicePort 51738 Install Brew by typing `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
 +3. Go through the installation process 
 +4. Install the Tor daemon: `brew install tor` 
 +5. Enable Tor as a Brew service: `brew services start tor` 
 +6. Navigate (using `cd`) to the folder where your Particl Desktop application icon is located (i.e. `cd /home/USER/Applications/`) 
 +7. Launch Particl Desktop by routing its connection through the Tor network: `./Particl\ Desktop.app/Contents/MacOS/Particl\ Desktop -proxy=`
-Save the file with `CTRL-X`, type `y` to overwrite and confim by `Enter` – the text editor will exit.+</pane>
-  $ sudo service tor restart+<pane id="daemon-linux"> 
 +=== Linux ===
 +1. Open a terminal
 +2. Install the Tor daemon: `sudo apt install tor` (for Debian/Ubuntu-based distributions)
 +3. Make sure Tor launches on startup: `sudo systemctl enable tor`
 +4. Navigate (using `cd`) to the folder where your Particl Desktop application icon is located (i.e. `cd ~/Particl/`)
 +5. Launch Particl Desktop by routing its connection through the Tor network: `./Particl\ Desktop -proxy=` (if you’ve installed Particl using the DEB package, then simply type this command: `particl-desktop -proxy=` from any folder)
-## 3. Find your IP for HS+</pane> 
-At a command prompt enter: 
-  $ sudo cat /var/lib/tor/particl-service/hostname+### Tor as a Hidden Service
-It should return an .onion addresswhich we'll refer to as `[yourexternalip].onion`+You can also run Tor as a hidden service and connect your Particl Desktop to itBy running Tor as a hidden serviceyou allow other Tor users to use your node as an entry or exit point. This helps the Tor network being more decentralized, thus increasing its anonymity.
 <callout type="info" icon="true"> <callout type="info" icon="true">
-It is recommended to always run the Particl build releases through Tor.+Please refer to **dedicated guide on [running Tor as Hidden Service](tutorial:tor:hidden-service)**
 </callout> </callout>
-## 4. Modify particl.conf +{{tag>privacy}}
- +
-In the [.particl directory](tutorial:backup-restore-wallet) there will be a `particl.conf` file. The wallet can run without that but you can include a lot of startup and operating instructions with it. +
- +
-  $ nano ~/.particl/particl.conf +
- +
-<callout type="info" icon="true"> +
- +
-**If nano returns the following error:** +
- +
-  Error writing ~/.particl/particl.conf: No such file or directory +
- +
-Then you'll have the make the directory yourself (because the Particl wallet hasn't ever ran on the system yet)! +
- +
-  $ mkdir ~/.particl +
-  $ nano ~/.particl/particl.conf +
- +
-</callout> +
- +
-Your `particl.conf` file will need to contain at least the following. Replace `[yourexternalip].onion` with the onion domain you got from step 3! +
- +
-``` +
-externalip=[yourexternalip].onion +
-onion= +
-addnode=7vusex6gv5eerqi2.onion +
-addnode=quf7tm4gk3xn3aee.onion +
-addnode=46fvsrrq75dx5vq4.onion +
-addnode=ciikdjtoop7l6p6h.onion +
-addnode=frlfghlielxq2ncy.onion +
-addnode=partusq5qad6jd2c.onion +
-addnode=x6fxdwpq2krxzmr3.onion +
-addnode=amu2ck7lyw26fiqs.onion +
-addnode=kfyopkn3shigcneh.onion +
-onlynet=tor +
-listen=1 +
-bind= +
-maxconnections=30 +
-``` +
- +
-## 5. Start wallet+
-Now you're ready to go, start it up. You should start making connections. If you use the `getpeerinfo` command you'll see the addresses of the peers and they should all be _.onion_ addresses. Some of the peers will show your external IP .onion address and that's normal, those are incoming connections.+<well size="sm"> 
 +=== Related pages ===