Simple Qubes OS qubes network display

Original forum link
https://forum.qubes-os.org/t/26031
Original poster
Solène R
Created at
2024-04-24 14:33:32
Posts count
3
Likes count
9

Hi, I made a simple script to run in dom0 (easy to audit) that will output a hierarchy tree of netvm and their qubes.

This is a rather simple rendering to figure your network topology.

You can get the sources from the git repository https://git.sr.ht/~solene/qubes-os-netvm-map

As an alternative, there is a tool generating a graph picture, but I can't remember the name. They can coexist well, I prefer mine because it has no dependency and works fine for me ~20 qubes, but for more complicated setup it may not be sufficient (also, one may not like how it looks).

Output example:

ONLINE QUBES
------------
sys-net:
|   sys-firewall:
|   |   sys-vpn-protonvpn-wg:
|   |   |   Tuta
|   |   sys-vpn-2hop:
|   |   |   sys-whonix:
|   |   |   |   whonix-workstation-17-dvm
|   |   |   |   Wallet-watching
|   |   |   |   anon-whonix
|   |   |   SSB
|   |   Windows10-install-fresh
|   |   default-dvm
|   |   Storage
|   |   sys-vpn-ivpn-wg-amsterdam:
|   |   |   sys-vpn-intranet:
|   |   |   |   Communication
|   |   |   |   WWW-disposable
|   |   |   |   disp5436
|   |   Development
sys-usb

OFFLINE QUBES (no netvm)
------------------------
- fedora-39-xfce
- vault
- whonix-gateway-17
- default-mgmt-dvm
- whonix-workstation-17
- fedora-39-xfce-simple