Installing Haveno in Whonix

Hi, thanks. I will include your beginning of the guide in the Haveno docu.
Unfortunately I haven’t had time to install Whonix and test Haveno Setup yet.

Yes, I explained here how we (or I) use tor aka little-t-tor on Debian/Ubuntu with the Haveno DirectBindTor patch. The Whonix monerod tor configuration is almost 1:1 to ‘Haveno with DirectBindTor’ and I was hoping that a Whonix user would test it and give feedback on whether it works. I read Onion_Services#Setup_Overview later and was not able to edit here in the forum. Therefore I wrote the ‘Edit’ on GitHub for Whonix.
In general, Whonix looks like *BSD to me. All user config is in /usr/local/etc/

I referenced:
Step 2: Open Whonix-Workstation Firewall Port
that could be copied. Of course, the user must use the port he has configured in torrc, e.g: EXTERNAL_OPEN_PORTS+=" 9999 "

In general, there is nothing special about Haveno with TorDirctBind config. It is configured like any other (Onion) HiddenService on Whonix.

--hiddenServiceAddress=<String> as a cmdline option. In Haveno configuration file ~/.local/share/Haveno-reto/haveno.properties the -- is omitted from all options.

HiddenService onion address is, depending on what you have configured as HiddenServiceDirin torrc e.g:

(sys-whonix) $ sudo cat /var/lib/tor/YOUR-haveno-service/hostname

No, it’s not neccesary with DirectBindTor. The reason why the DirectBindTor patch was developed is that you no longer need all this stuff that you find in the old bisq guides:

  • No use of Netlayer and jtorctl which use Tor ControlPort to create a HiddenService. ( a HS with hs_ed25519 instead of OPENSSH key)
  • Not using Haveno’s included java Tor binaries, but c-tor direct from the TorProject or OS archive.
  • So that you only use Tor SocksPort:9050
  • So that you can use all HiddenService options, like PoW and IntroDoS. This is not possible via tor control ADD_ONION.
  • Disadvantage: More for experienced users. They have to install Tor themselves (of course not on Whonix). Users must configure HiddenService themselves and make a backup of the HS key.

Inexperienced users can test 40_haveno.yml or https://github.com/haveno-dex/haveno/pull/1583 and provide feedback so that it can be merged. Personally, I find the TorDirectBind way easier and safer.

So, Guys it works:
Haveno-Whonix-Direct-Bind-Tor

The first time I use Whonix. It took me about 2 hours. Install Whonix with KVM on a Debian host and running Haveno with DirectBindTor. Patrick and the other Whonix devs have integrated samples for Tor and Firewall and GUI tools for editing.

Sorry guys. How can it be that experienced Whonix users ask for months how to configure a custom Tor HiddenService on Whonix?
I edited exactly 3 lines + Edited Launcher for Haveno
Hint: I have activated clipboard sharing in Workstation temporarily to copy the onion address.

1 Like