Jump to content
Sign in to follow this  
buzzkillb

How to Setup Multiple Fortunastakes Using TOR

Recommended Posts

On the VPS side you can use an onion address to run multiple D FortunaStakes on a single machine. All you really need is enough ram and hard drive space to run each daemon wallet (denariusd).

install TOR (ubuntu, raspbian, etc)

sudo apt-get install tor

or install from source list https://2019.www.torproject.org/docs/debian.html.en (ubuntu 16.04 xenial example below)

You need to add the following entries to /etc/apt/sources.list or a new file in /etc/apt/sources.list.d/:

deb https://deb.torproject.org/torproject.org xenial main
deb-src https://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:

# curl https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --import
# gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -
We provide a Debian package to help you keep our signing key current. It is recommended you use it. Install it with the following commands:

# apt update
# apt install tor deb.torproject.org-keyring

edit to start adding onion addresses

sudo nano /etc/tor/torrc
HiddenServiceDir /var/lib/tor/hidden_service01/
HiddenServiceVersion 2
HiddenServicePort 33369 127.0.0.1:33369
HiddenServicePort 9999 127.0.0.1:9999
HiddenServiceDir /var/lib/tor/hidden_service02/
HiddenServiceVersion 2
HiddenServicePort 33369 127.0.0.1:33369
HiddenServicePort 9999 127.0.0.1:9999

restart service to pick the changes up

sudo service tor restart

show onion address

sudo cat /var/lib/tor/hidden_service01/hostname
sudo cat /var/lib/tor/hidden_service02/hostname

Basically you can create multiple ~./denarius folders to store chaindata like this for 2 FS's on a single VPS.

mkdir ~/D
mkdir ~/D/FS01
mkdir ~/D/FS02

denariusd -datadir=/home/username/D/FS01
denariusd -datadir=/home/username/D/FS02

Sample denarius.conf

rpcuser=denariusrpc
rpcpassword=somestrongpassword
rpcallowip=127.0.0.1
daemon=1
port=9999
fortunastake=1
listen=1
externalip=youronionaddress.onion
fortunastakeaddr=youronionaddress.onion:9999
fortunastakeprivkey=yourfortunastakegenkey
tor=127.0.0.1:9050
bind=127.0.0.1:33301
rpcport=32301

for each FS you add change the last number of bind and rpcport, so 1 could become 2 and so and so on. Separate denarius.conf in each ~/D/FS01 ~/D/FS02 etc. folder

on your QT, fortunastake.conf will have youronionaddress.onion:9999 as the IP address

hint: you can also connect into the TOR onion addresses as addnodes

triforce.black is running on 6nw6dekrzc2s5i2w.onion

  • Thanks 1

Join Denarius Discord - https://discord.gg/JQEmXwb

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...