mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-16 03:42:36 +02:00
doc: update tor docs to use bitcoind binary from path
This commit is contained in:
10
doc/tor.md
10
doc/tor.md
@ -64,7 +64,7 @@ outgoing connections, but more is possible.
|
|||||||
|
|
||||||
In a typical situation, this suffices to run behind a Tor proxy:
|
In a typical situation, this suffices to run behind a Tor proxy:
|
||||||
|
|
||||||
./bitcoind -proxy=127.0.0.1:9050
|
bitcoind -proxy=127.0.0.1:9050
|
||||||
|
|
||||||
`bitcoin node` or `bitcoin gui` can also be substituted for `bitcoind`.
|
`bitcoin node` or `bitcoin gui` can also be substituted for `bitcoind`.
|
||||||
|
|
||||||
@ -191,25 +191,25 @@ should be equal to binding address and port for inbound Tor connections (127.0.0
|
|||||||
|
|
||||||
In a typical situation, where you're only reachable via Tor, this should suffice:
|
In a typical situation, where you're only reachable via Tor, this should suffice:
|
||||||
|
|
||||||
./bitcoind -proxy=127.0.0.1:9050 -externalip=7zvj7a2imdgkdbg4f2dryd5rgtrn7upivr5eeij4cicjh65pooxeshid.onion -listen
|
bitcoind -proxy=127.0.0.1:9050 -externalip=7zvj7a2imdgkdbg4f2dryd5rgtrn7upivr5eeij4cicjh65pooxeshid.onion -listen
|
||||||
|
|
||||||
(obviously, replace the .onion address with your own). It should be noted that you still
|
(obviously, replace the .onion address with your own). It should be noted that you still
|
||||||
listen on all devices and another node could establish a clearnet connection, when knowing
|
listen on all devices and another node could establish a clearnet connection, when knowing
|
||||||
your address. To mitigate this, additionally bind the address of your Tor proxy:
|
your address. To mitigate this, additionally bind the address of your Tor proxy:
|
||||||
|
|
||||||
./bitcoind ... -bind=127.0.0.1:8334=onion
|
bitcoind ... -bind=127.0.0.1:8334=onion
|
||||||
|
|
||||||
If you don't care too much about hiding your node, and want to be reachable on IPv4
|
If you don't care too much about hiding your node, and want to be reachable on IPv4
|
||||||
as well, use `discover` instead:
|
as well, use `discover` instead:
|
||||||
|
|
||||||
./bitcoind ... -discover
|
bitcoind ... -discover
|
||||||
|
|
||||||
and open port 8333 on your firewall (or use port mapping, i.e., `-natpmp`).
|
and open port 8333 on your firewall (or use port mapping, i.e., `-natpmp`).
|
||||||
|
|
||||||
If you only want to use Tor to reach .onion addresses, but not use it as a proxy
|
If you only want to use Tor to reach .onion addresses, but not use it as a proxy
|
||||||
for normal IPv4/IPv6 communication, use:
|
for normal IPv4/IPv6 communication, use:
|
||||||
|
|
||||||
./bitcoind -onion=127.0.0.1:9050 -externalip=7zvj7a2imdgkdbg4f2dryd5rgtrn7upivr5eeij4cicjh65pooxeshid.onion -discover
|
bitcoind -onion=127.0.0.1:9050 -externalip=7zvj7a2imdgkdbg4f2dryd5rgtrn7upivr5eeij4cicjh65pooxeshid.onion -discover
|
||||||
|
|
||||||
## 4. Privacy recommendations
|
## 4. Privacy recommendations
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user