Author

Topic: [SOLVED] Run bitcoind full node behind tor WITH incoming connections! (Read 1397 times)

full member
Activity: 210
Merit: 104
“Create Your Decentralized Life”
File torrc
Code:
SocksPort 127.0.0.1:9150
DataDirectory Z:\Redacted\Tor
GeoIPFile Z:\Redacted\Tor\geoip
GeoIPv6File Z:\Redacted\Tor\geoip6
HiddenServiceDir Z:\Redacted\Tor\bitcoin-service
HiddenServicePort 8333 127.0.0.1:8333
File bitcoin.conf
Code:
externalip=redactedredacted.onion
port=8333
onlynet=onion
listen=1
bind=127.0.0.1:8333
onion=127.0.0.1:9150
full member
Activity: 210
Merit: 104
“Create Your Decentralized Life”
full member
Activity: 210
Merit: 104
“Create Your Decentralized Life”
I was thinking, it would be nice if the options worked something like this:

Connection options:
  -addnode=    Add a node to connect to and attempt to keep the connection open
  -connect=    Connect only to the specified node(s)
  -external=   Specify your own public address
  -onion=       Use separate SOCKS5 proxy to reach peers via Tor hidden services (default: -proxy)

The idea would be this... if the "-onion" switch is present, then all the other IP based switches could use addresses like "eqt5g4fuenphqinx.onioin" in their peer list while also allowing peers to connect to their onion address.

Maybe the code is already written to work exactly that way, it just isn't in the documentation.

Any thoughts?
full member
Activity: 210
Merit: 104
“Create Your Decentralized Life”
I'd like to run a full node, but run it over TOR.  The caveat is that I'd like to contribute by accepting incoming connections.  I would think that this would be straight forward enough.  Just provide a switch similar to "-externalip=" but for your hidden service hash, like "-onionaddr=eqt5g4fuenphqinx.onioin".  That way a node could publish it's onion address to accept incoming connections over TOR.  Of course the node would need to set up the hidden service on the proper port, but this would allow bitcoind to plug into it.

Surely someone has proposed this before... is it already implemented?  Is there a way to do both incoming and outgoing connections through bitcoind over TOR?

Thx
Jump to: