Author

Topic: Bitcoind, setup a tor (Read 175 times)

legendary
Activity: 1512
Merit: 7340
Farewell, Leo
April 04, 2023, 08:38:48 AM
#7
In addition to what SamReomo has suggested above, check if you're pointing to the correct configuration file. Sometimes you just mess up with this, and it looks to a different data directory. If you're using the command line, add
Code:
--conf=//bitcoin/bitcoin.conf

Check for firewall rules: If you have a firewall configured on your system, it might be blocking the Tor or Bitcoind traffic. Make sure that you have allowed incoming and outgoing connections for Tor and Bitcoind.
It's unlikely to be a firewall issue, unless the OP altered those rules. In all systems I've tested, Tor and Bitcoind work fine with default rules.
newbie
Activity: 3
Merit: 4
March 28, 2023, 09:13:58 AM
#6
Quote
reachable=false means other node cannot connect to your node. But since getnetworkinfo return "network" with name "onion", that means your node already use Tor. Although if you want to configure your node to be reachable, you'll to perform additional configuration using guide which mentioned by @nc50lc.

Thank you very much, I don't know this moment that "getnetworkinfo return "network" with name "onion", that means your node already use Tor."

Now it’s clear that I need to raise a hidden service so that other onion peers can connect to me.

One more thank you very much
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
March 28, 2023, 06:22:15 AM
#5
Tor is installed and active

The bitcoin.conf file looks like "proxy=127.0.0.1:9050 onlynet=onion debug=tor"

But if call getnetworkinfo onion have parameter reachable=false

If it need more information please write I will give it

Is your user account part of the Tor group?

Since you're on Raspbian, run this:

Code:
sudo adduser debian-tor

Then log out and log in again.

Do this so you will be able to access Tor, otherwise it will not allow you to do that and your Tor proxy will give you a permissions error.
newbie
Activity: 3
Merit: 4
March 27, 2023, 04:02:48 PM
#4
Thank you your answer.

I installed full node from this guide and everything works very well, but I can't set up tor in bitcoind.
https://howchoo.com/bitcoin/run-bitcoin-full-node-raspberry-pi


Bitcoin core installed in home directory

Tor is installed and active

The bitcoin.conf file looks like "proxy=127.0.0.1:9050 onlynet=onion debug=tor"

But if call getnetworkinfo onion have parameter reachable=false

If it need more information please write I will give it

My main goal is just to have all bitcoin core traffic go through tor

legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
March 27, 2023, 01:17:46 AM
#3
For starters, just follow the instructions in the reference client's GitHub repository: https://github.com/bitcoin/bitcoin/blob/master/doc/tor.md

Since there's limited info, I'll just ask if you've setup a custom data directory?
Because is you did and set it up via the GUI's "Welcome Screen" or as a command line option, the bitcoin.conf file should be in that directory instead.

If not, it must be something else.
legendary
Activity: 1932
Merit: 1273
March 27, 2023, 12:52:44 AM
#2
You need to give us more information. Refer to [READ BEFORE POSTING] Tech Support Help Request Format
newbie
Activity: 3
Merit: 4
March 26, 2023, 04:51:47 PM
#1
Hello, if anyone knows how to set up a tor network in bitcoind, please describe how it is done.
Creating of bitcoin.conf with "proxy=127.0.0.1:9050 onlynet=onion" in directory ~/.bitcoin doesn't work

Thank you in advance
Jump to: