Title: Need help connecting to full node over Tor Post by: Ambivilance on March 09, 2021, 09:43:23 AM I have a raspberry pi with bitcoin core + electrum personal server. I would SSH into it and then run electrum with these arguments: ./electrum --oneserver --server localhost:50002:S . I later created a tor hidden service and got an onion address. I tried this: ./electrum --oneserver --server myOnion:50001:t -p socks5:localhost9050 and it would not connect.
On bitnodes my onion is up, though it does not say Tor under the network description, like it does for others. I forwarded port 8333. I have these in the bitcoin.conf: proxy=127.0.0.1:9050 listen=1 bind=127.0.0.1 I am unsure what I am meant to do. I want to connect to it through electrum and I want the maximum privacy, so I don't other people to be able to query my node. Am I meant to just do what I did before (./electrum --oneserver --server localhost:50002:S) and it is over tor since I have walletbroadcast=0 on, or am I meant to use a hidden service, in which case, what is the correct electrum argument? Thank you. Title: Re: Need help connecting to full node over Tor Post by: BitMaxz on March 09, 2021, 10:10:06 AM Is this a Raspibolt?
Can you try this command below with verbose logging enabled Code: electrum -v --oneserver --server <your_onion_hidden_service>.onion:50002:s --proxy socks5:127.0.0.1:9050 But if it doesn't work try to connect Electrum using this command. Code: electrum -v --oneserver --server raspibolt.local:50002:s Then update here to any errors popup here. Title: Re: Need help connecting to full node over Tor Post by: Ambivilance on March 09, 2021, 10:16:07 AM Is this a Raspibolt? Can you try this command below with verbose logging enabled Code: electrum -v --oneserver --server <your_onion_hidden_service>.onion:50002:s --proxy socks5:127.0.0.1:9050 But if it doesn't work try to connect Electrum using this command. Code: electrum -v --oneserver --server raspibolt.local:50002:s Then update here to any errors popup here. Not a raspibolt, just software manually installed. What does the -v do? I will try it. Title: Re: Need help connecting to full node over Tor Post by: Husires on March 09, 2021, 11:21:53 AM use this https://github.com/bwt-dev/bwt#electrum-plugin if you have problems with EPS
Title: Re: Need help connecting to full node over Tor Post by: NotATether on March 10, 2021, 07:23:47 AM Are you sure you are connecting to the hidden service at the correct port? If the logs say something like this:
Code: I/i | interface.[mic3bk5pvma4ng7zkc3kdjmr2vv4wt72by7uw4bgqwxdijgw2bel5sad.onion:50002] | disconnecting due to: SOCKSFailure('connection refused') Then you may have to check your Bitcoin Core configuration to find the port that it is listening on for onion connections. Title: Re: Need help connecting to full node over Tor Post by: odolvlobo on March 24, 2021, 11:49:50 PM I have a Raspibolt node running using TOR. Raspibolt has the following configuration for bitcoind. Compare to yours.
Code: # RaspiBolt: bitcoind configuration Also, why run both Bitcoin Core and Electrum on the RPi? I run Electrs on the RPi, which allows me to run electrum on any computer on my network. |