Bitcoin Forum
April 25, 2024, 02:36:16 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoind, setup a tor  (Read 140 times)
7light7 (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 4


View Profile
March 26, 2023, 09:51:47 PM
Merited by NotATether (3), ABCbits (1)
 #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
1714012576
Hero Member
*
Offline Offline

Posts: 1714012576

View Profile Personal Message (Offline)

Ignore
1714012576
Reply with quote  #2

1714012576
Report to moderator
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714012576
Hero Member
*
Offline Offline

Posts: 1714012576

View Profile Personal Message (Offline)

Ignore
1714012576
Reply with quote  #2

1714012576
Report to moderator
1714012576
Hero Member
*
Offline Offline

Posts: 1714012576

View Profile Personal Message (Offline)

Ignore
1714012576
Reply with quote  #2

1714012576
Report to moderator
1714012576
Hero Member
*
Offline Offline

Posts: 1714012576

View Profile Personal Message (Offline)

Ignore
1714012576
Reply with quote  #2

1714012576
Report to moderator
vv181
Legendary
*
Offline Offline

Activity: 1932
Merit: 1273


View Profile
March 27, 2023, 05:52:44 AM
 #2

You need to give us more information. Refer to [READ BEFORE POSTING] Tech Support Help Request Format
nc50lc
Legendary
*
Offline Offline

Activity: 2394
Merit: 5531


Self-proclaimed Genius


View Profile
March 27, 2023, 06:17:46 AM
Merited by ABCbits (1)
 #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.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
7light7 (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 4


View Profile
March 27, 2023, 09: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

NotATether
Legendary
*
Offline Offline

Activity: 1582
Merit: 6679


bitcoincleanup.com / bitmixlist.org


View Profile WWW
March 28, 2023, 11: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 <your-user> 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.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
7light7 (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 4


View Profile
March 28, 2023, 02:13:58 PM
 #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
BlackHatCoiner
Legendary
*
Offline Offline

Activity: 1498
Merit: 7266


Farewell, Leo


View Profile
April 04, 2023, 01:38:48 PM
 #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=/<your_directories_here>/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.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!