*** Warning: Do not assume Tor support does the correct thing in Komodo; better Tor support is a future feature goal. ***
*** Warning: Do not assume Tor support does the correct thing in Hush; better Tor support is a future feature goal. ***
TOR SUPPORT IN ZCASH
====================
# TOR SUPPORT IN HUSH
It is possible to run Komodo as a Tor hidden service, and connect to such services.
It is possible to run Hush as a Tor hidden service, and connect to such services.
The following directions assume you have a Tor proxy running on port 9050. Many distributions default to having a SOCKS proxy listening on port 9050, but others may not. In particular, the Tor Browser Bundle defaults to listening on port 9150. See [Tor Project FAQ:TBBSocksPort](https://www.torproject.org/docs/faq.html.en#TBBSocksPort) for how to properly
configure Tor.
1. Run Komodo behind a Tor proxy
1. Run Hush behind a Tor proxy
-------------------------------
The first step is running Komodo behind a Tor proxy. This will already make all
The first step is running Hush behind a Tor proxy. This will already make all
outgoing connections be anonymized, but more is possible.
-proxy=ip:port Set the proxy server. If SOCKS5 is selected (default), this proxy
@ -33,27 +32,27 @@ outgoing connections be anonymized, but more is possible.
In a typical situation, this suffices to run behind a Tor proxy:
./komodod -proxy=127.0.0.1:9050
./hushd -proxy=127.0.0.1:9050
2. Run a Komodo hidden server
2. Run a Hush hidden server
----------------------------
If you configure your Tor system accordingly, it is possible to make your node also
reachable from the Tor network. Add these lines to your /etc/tor/torrc (or equivalent
config file):
HiddenServiceDir /var/lib/tor/zcash-service/
HiddenServiceDir /var/lib/tor/hush-service/
HiddenServicePort 7771 127.0.0.1:7771
HiddenServicePort 17771 127.0.0.1:17771
The directory can be different of course, but (both) port numbers should be equal to
your komodod's P2P listen port (7771 by default).
your hushd's P2P listen port (7771 by default).
-externalip=X You can tell Komodo about its publicly reachable address using
-externalip=X You can tell Hush about its publicly reachable address using
this option, and this can be a .onion address. Given the above
configuration, you can find your onion address in
/var/lib/tor/zcash-service/hostname. Onion addresses are given
/var/lib/tor/hush-service/hostname. Onion addresses are given
preference for your node to advertize itself with, for connections
coming from unroutable addresses (such as 127.0.0.1, where the
Tor proxy typically runs).
@ -70,25 +69,25 @@ your komodod's P2P listen port (7771 by default).
In a typical situation, where you're only reachable via Tor, this should suffice: