With onion=...
you solely inform bitcoind
the right way to make outbound connections to the Tor community. With a view to be reachable your self on the Tor community, you could have what known as a “hidden service”, which is the equal of an IP handle on the Tor community. Tor is somewhat uncommon in that you do not want such an handle to make outbound connections; it is just wanted to obtain inbound connections.
For the small print of the right way to create a hidden service, see the Bitcoin Core Tor documentation, however there are roughly two methods:
- Give
bitcoind
permission to asktor
to create a hidden service on its behalf (by opening the management port). - Configure
tor
your self to create a hidden service for you and to ahead it tobitcoind
, which you then want to inform what that hidden service handle is (so it could promote to different friends).