By default Bitcoin Core will usually connect over the regular Internet as well as allow connections to and from the Tor hidden service. Bitcoin Core v0.12 and later automatically tries to connect to Tor via the ControlPort if listen=1 is set in nf. Replace BITCOIN_USER with the actual user name found above:Īt this point your node will work over Tor without further configuartion. Run the following command as root, which adds your Bitcoin user to the tor group. Ps -eo user,group,comm |egrep 'bitcoind|bitcoin-qt' |awk '' Run the following command while Bitcoin is running: You need to figure out what user bitcoind or bitcoin-qt is running as. For absolute security delete onion_private_key at each reboot or some frequent interval. Note that while a malicious party cannot necessarily associate the server with you as a person, as long as your server has the same xxxx.onion address they will know it is run by the same person. Also, if you delete this file, the next time bitcoind loads it will generate a new key file and xxxxxxxx.onion address. If someone copies this file they can run a server with your. The file onion_private_key contains the private key needed to generate your unique XXXXXXX.onion address. On the first startup of bitcoind after configuring Bitcoin Core to use Tor ControlPort as follows, Bitcoin Core will generate a file called onion_private_key in the data directory. This sets up an automatic hidden service that is initiated by Bitcoin Core. For method 1, you need at least version 0.12.0. short onion addresses), only support Tor version 3 hidden services (Tor v3, ie. Note that since version 22.0 Bitcoin does not support Tor hidden service version 2 (ie.
![tor expert bundle linux tor expert bundle linux](https://i.stack.imgur.com/JwgaU.png)
Tor expert bundle linux install#
This guide assumes that Tor is running under the user and group tor, which will usually be the case if you install Tor using your distro's package manager. Figure out where your torrc file is ( /etc/tor/torrc is one possibility). It is possible to do on Windows, the instructions are presented at the end.