-
-
Notifications
You must be signed in to change notification settings - Fork 354
Running Zcoin node as a Tor hidden service
justanwar edited this page Aug 23, 2021
·
2 revisions
This is a legacy article. It may no longer be accurate or up to date.
Assuming you’re on Ubuntu Xenial
You need to add the following entry in /etc/apt/sources.list or a new file in /etc/apt/sources.list.d/:
deb http://deb.torproject.org/torproject.org xenial main
deb-src http://deb.torproject.org/torproject.org xenial main
Then add the gpg key used to sign the packages by running the following commands at your command prompt:
gpg --keyserver pgp.mit.edu --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
You can install it with the following commands:
apt-get update
apt-get install tor deb.torproject.org-keyring
Configure Tor
username@host:~$ sudo nano /usr/share/tor/tor-service-defaults-torrc
ControlPort 9051
CookieAuthentication 1
CookieAuthFileGroupReadable 1
Make sure these are all in the file. Mine was missing the ControlPort
Restart Tor:
sudo /etc/init.d/tor restart
Check Tor user
grep User /usr/share/tor/tor-service-defaults-torrc
Give user member of Tor group
sudo usermod -a -G debian-tor YOURUSERNAME
Restart Zcoind
./zcoin-cli stop
./zcoind -daemon -debug=tor
- Home
- Information for exchanges
- Technical and Troubleshooting
- Deterministic Masternodes
- Exchanges and Partners
- Vulnerability bounty program