How to Setup Tor on Particl (IP Address Anonymization)


Original Wiki page:

What is a Tor Hidden Service (HS)?

Tor hidden service conceals your IP address and thus your privacy. It also protects your machine from geolocation and its possible ugly consequences, and automatically sets you up for both incoming and outgoing connections, in turn helping the Particl network.

Step 0: Download a Particl Wallet

We highly suggest that you verify the checksums before putting any coin on any wallet downloaded on the internet

Step 1: Install Tor

Beginner Hint – only copy text/command after “$*”

In a command prompt, just type “tor” without quotation marks.

$ tor

If it is already running, you should get an error message that says something like “Is tor already running?” If that is so, you can move to Step 2, if not, then type in your command prompt:

$ sudo apt-get install tor

Step 2: Define Particl as a Tor HS in the Tor Configuration File

$ sudo nano /etc/tor/torrc

We need to add our config to the Tor configuration file which will signal Tor to create a hidden service. Add the following to /etc/tor/torrc:

HiddenServiceDir /var/lib/tor/particl-service/
HiddenServicePort 51738

Save the file with “CTRL-X”, type “y” to overwrite and the text editor will exit.

$ sudo service tor restart

Step 3: Find Your External IP Address for the Hidden Service

In a command prompt, type the following:

$ sudo cat /var/lib/tor/particl-service/hostname

It should return a .onion address, which we’ll refer to as [yourexternalip].onion

Step 4: Modify Your particl.conf File

There will be a particl.conf file located in the .particl directory. Particl can run without it, but it allows you to include a lot of client operations and startup instructions.

$ nano ~/.particl/particl.conf

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 by typing:

$ mkdir ~/.particl $ nano ~/.particl/particl.conf
$ nano ~/.particl/particl.conf

Your particl.conf file will need to contain at least the following. Replace [yourexternalip].onion with the onion domain you got from step 3!


Step 5: Start Your Wallet

Now you’re ready to go, start your favorite Particl client up! Once your wallet has connected to other peers, you can use the getpeerinfo command to see peer connections; 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.