HOWTO run a tor-relay in qubes-whonix?

I’ve searched both Qubes and Whonix documentation, but so far no result.

I run Qubes with the whonix-gw/ws implementation, and I would like to run a tor-relay. So:
How should I set up a tor-node that runs inside whonix? And should it run in gw or ws-vm?

1 Like

I don’t think this is documented yet.

You would need to adapt the Virtualbox instructions for Qubes.

  1. edit torrc: How can we help? | Tor Project | Support
  2. forward ports to whonix-gateway: Redirecting…
  3. edit whonix-gateway firewall: Host a Bridge or Tor Relay - Whonix

[Should a separate, dedicated VM be used to host a relay?]

1 Like


Possible in theory. In practice, kinda difficult since it is undocumented, therefore unsupported. ( Undocumented, Untested or Unsupported Features )

You’d also need the Qubes specific instructions on how to forward a port:

Forward the port from sys-net to sys-firewall to sys-whonix?

I highly recommend figuring this out with a Debian VM before you try this with sys-whonix.