Bitcoin Forum
May 06, 2024, 11:10:43 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoin core full node through Tor  (Read 201 times)
hausinn (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
May 01, 2018, 05:25:57 PM
 #1

Hello.

I'm having trouble setting up my full node through Tor.

When I go to settings -> options -> network in the GUI and then click "Use separate SOCKS5 proxy to reach peers via Tor hidden services:"
and then input the proxy IP "127.0.0.1" the column always just turns red like it is invalid.

Have searched for this issue only and can't seem to find a solution or anyone really experiencing it.

Anyone that knows what the issue is?

Regards.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
AdolfinWolf
Legendary
*
Offline Offline

Activity: 1946
Merit: 1427


View Profile
May 01, 2018, 06:22:15 PM
 #2

Hello.

I'm having trouble setting up my full node through Tor.

When I go to settings -> options -> network in the GUI and then click "Use separate SOCKS5 proxy to reach peers via Tor hidden services:"
and then input the proxy IP "127.0.0.1" the column always just turns red like it is invalid.

Have searched for this issue only and can't seem to find a solution or anyone really experiencing it.

Anyone that knows what the issue is?

Regards.

What did you set the port to? Did you use 9050 as is instructed here, https://en.bitcoin.it/wiki/Tor#Bitcoin_Core ?

Your socks port might not be configured (correctly) at all.

hausinn (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
May 01, 2018, 06:30:07 PM
 #3

Hello.

I'm having trouble setting up my full node through Tor.

When I go to settings -> options -> network in the GUI and then click "Use separate SOCKS5 proxy to reach peers via Tor hidden services:"
and then input the proxy IP "127.0.0.1" the column always just turns red like it is invalid.

Have searched for this issue only and can't seem to find a solution or anyone really experiencing it.

Anyone that knows what the issue is?

Regards.

What did you set the port to? Did you use 9050 as is instructed here, https://en.bitcoin.it/wiki/Tor#Bitcoin_Core ?

Your socks port might not be configured (correctly) at all.


thanks for the answer!

I tried that yes, but it didn't matter since the proxy IP column was just red (hinting a wrong proxy ip) so I couldn't even save any changes..

All I've done so far was to setup Tor browser. I checked the network settings in the browser and the proxy ip was indeed 127.0.0.1

Is there anything more I need to do to configure the socks port? Even if it were incorrectly configured, the bitcoin core GUI should still let me input the proxy ip right?

AdolfinWolf
Legendary
*
Offline Offline

Activity: 1946
Merit: 1427


View Profile
May 01, 2018, 07:11:46 PM
 #4

Hello.

I'm having trouble setting up my full node through Tor.

When I go to settings -> options -> network in the GUI and then click "Use separate SOCKS5 proxy to reach peers via Tor hidden services:"
and then input the proxy IP "127.0.0.1" the column always just turns red like it is invalid.

Have searched for this issue only and can't seem to find a solution or anyone really experiencing it.

Anyone that knows what the issue is?

Regards.

What did you set the port to? Did you use 9050 as is instructed here, https://en.bitcoin.it/wiki/Tor#Bitcoin_Core ?

Your socks port might not be configured (correctly) at all.


thanks for the answer!

I tried that yes, but it didn't matter since the proxy IP column was just red (hinting a wrong proxy ip) so I couldn't even save any changes..

All I've done so far was to setup Tor browser. I checked the network settings in the browser and the proxy ip was indeed 127.0.0.1

Is there anything more I need to do to configure the socks port? Even if it were incorrectly configured, the bitcoin core GUI should still let me input the proxy ip right?



I just tried using the Tor.exe client on windows, https://www.torproject.org/download/download -> Expert bundle, and Bitcoin Core v13.0, and that worked fine.

Have you checked what port your tor browser uses, and if tor is configured correctly?

What happens if you add this

Code:

proxy=127.0.0.1:9050
listen=1
bind=127.0.0.1

in your bitcoin.conf file, and then launch bitcoin core?  I'm not exactly an expert on this. Someone with a bit more knowledge about this than me might figure out what's wrong.


hausinn (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
May 01, 2018, 07:28:21 PM
 #5

Hello.

I'm having trouble setting up my full node through Tor.

When I go to settings -> options -> network in the GUI and then click "Use separate SOCKS5 proxy to reach peers via Tor hidden services:"
and then input the proxy IP "127.0.0.1" the column always just turns red like it is invalid.

Have searched for this issue only and can't seem to find a solution or anyone really experiencing it.

Anyone that knows what the issue is?

Regards.

What did you set the port to? Did you use 9050 as is instructed here, https://en.bitcoin.it/wiki/Tor#Bitcoin_Core ?

Your socks port might not be configured (correctly) at all.


thanks for the answer!

I tried that yes, but it didn't matter since the proxy IP column was just red (hinting a wrong proxy ip) so I couldn't even save any changes..

All I've done so far was to setup Tor browser. I checked the network settings in the browser and the proxy ip was indeed 127.0.0.1

Is there anything more I need to do to configure the socks port? Even if it were incorrectly configured, the bitcoin core GUI should still let me input the proxy ip right?



I just tried using the Tor.exe client on windows, https://www.torproject.org/download/download -> Expert bundle, and Bitcoin Core v13.0, and that worked fine.

Have you checked what port your tor browser uses, and if tor is configured correctly?

What happens if you add this

Code:

proxy=127.0.0.1:9050
listen=1
bind=127.0.0.1

in your bitcoin.conf file, and then launch bitcoin core?  I'm not exactly an expert on this. Someone with a bit more knowledge about this than me might figure out what's wrong.



I tried what you suggested and Tor gave me this error:

"Your application (using socks5 to port 8333) gave tor a malformed hostname: [scrubbed]. Rejecting the connection."

Seems like something to work with Smiley

I am still not able to input the proxy IP in the GUI tho, can you do that in your GUI?
network.decentralizer
Jr. Member
*
Offline Offline

Activity: 30
Merit: 1


View Profile
May 02, 2018, 05:39:58 AM
 #6

Haven't tried the bitcoin-core-gui but I am sure that you can configure it to use TOR Socks5 proxy. Use 127.0.0.1:9050 and check torrc file in "Browser/TorBrowser/Data/Tor.
I think that you should remove all lines that contain ReachableAddresses and then restart tor. That's all I found on the internet right now. Test it and post your results.
aleksej996
Sr. Member
****
Offline Offline

Activity: 490
Merit: 389


Do not trust the government


View Profile
May 04, 2018, 11:11:57 AM
 #7

Bitcoin Core should work with Tor out of the box, by just checking the box to use proxy to connect to other peers.
Proxy values are already setup for Tor by default in Bitcoin Core.

Is there a specific reason why you don't want to connect to all of your peers over Tor?
It will hide your IP address from them if you do. Not even your ISP would be able to know that you run a Bitcoin node, unless you configured it to accept incoming connections.
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!