doc: Update onion service target port numbers in tor.md

pull/764/head
Hennadii Stepanov 4 years ago
parent bb145c9050
commit 96571b3d4c
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

@ -45,11 +45,12 @@ config file): *Needed for Tor version 0.2.7.0 and older versions of Tor only. Fo
versions of Tor see [Section 3](#3-automatically-listen-on-tor).* versions of Tor see [Section 3](#3-automatically-listen-on-tor).*
HiddenServiceDir /var/lib/tor/bitcoin-service/ HiddenServiceDir /var/lib/tor/bitcoin-service/
HiddenServicePort 8333 127.0.0.1:8333 HiddenServicePort 8333 127.0.0.1:8334
HiddenServicePort 18333 127.0.0.1:18333 HiddenServicePort 18333 127.0.0.1:18334
The directory can be different of course, but (both) port numbers should be equal to The directory can be different of course, but virtual port numbers should be equal to
your bitcoind's P2P listen port (8333 by default). your bitcoind's P2P listen port (8333 by default), and target addresses and ports
should be equal to binding address and port for inbound Tor connections (127.0.0.1:8334 by default).
-externalip=X You can tell bitcoin about its publicly reachable address using -externalip=X You can tell bitcoin about its publicly reachable address using
this option, and this can be a .onion address. Given the above this option, and this can be a .onion address. Given the above

Loading…
Cancel
Save