Improve documentation on connecting to zcash hidden server

This commit is contained in:
Jay Graber 2016-10-11 15:41:15 -07:00
parent 5b07ee597c
commit 856b92faa1
1 changed files with 5 additions and 8 deletions

View File

@ -70,7 +70,8 @@ your zcashd's P2P listen port (8233 by default).
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:
./zcashd -proxy=127.0.0.1:9050 -externalip=abc123.onion -listen ./zcashd -proxy=127.0.0.1:9050 -externalip=zctestseie6wxgio.onion
-listen
(obviously, replace the Onion address with your own). If you don't care too much (obviously, replace the Onion address with your own). If you don't care too much
about hiding your node, and want to be reachable on IPv4 as well, additionally about hiding your node, and want to be reachable on IPv4 as well, additionally
@ -83,7 +84,7 @@ and open port 8233 on your firewall (or use -upnp).
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:
./zcashd -onion=127.0.0.1:9050 -externalip=abc123.onion -discover ./zcashd -onion=127.0.0.1:9050 -externalip=zctestseie6wxgio.onion -discover
3. Connect to a Zcash hidden server 3. Connect to a Zcash hidden server
@ -92,13 +93,9 @@ for normal IPv4/IPv6 communication, use:
To test your set-up, you might want to try connecting via Tor to just a To test your set-up, you might want to try connecting via Tor to just a
a single Zcash hidden server. a single Zcash hidden server.
Edit zcash.conf and comment out any nodes you might normally connect to. Launch zcashd as follows, connecting to the Zcash hidden server:
#addnode=betatestnet.z.cash ./zcashd -onion=127.0.0.1:9050 -connect=zctestseie6wxgio.onion
Launch zcashd as follows, adding the Zcash hidden server:
zcashd -onion=127.0.0.1:9050 -addnode=zctestseie6wxgio.onion
Now use zcash-cli to verify there is only a single peer connection. Now use zcash-cli to verify there is only a single peer connection.