Over Tailscale or NetBird
A tailnet, Tailscale's or a NetBird network, lets the wall reach KVMs wherever they are and lets people reach the wall, with no port open to the internet. qKVM talks to each device directly over it, and never logs, shows or exports a tailnet's key or token.
Find KVMs on a tailnet
Find KVMs on my network also asks the tailnet's machines:
- Tailscale: the machines it lists as online, from
tailscale status --json, or from Tailscale's local socket when qKVM runs in a container beside it. - NetBird: the machines
netbird status --jsonlists, or, in a container, those its management API lists once an admin sets it up under Settings > Network > NetBird.
Only tailnet addresses (100.64.0.0/10) are asked, 256 machines at most. Nothing is added but what you tick.
Let only the wall reach the KVMs
A tailnet lets every machine reach every other until its access rules say otherwise. Tag the KVMs and the wall:
- A GL.iNet Comet has a Tailscale client of its own: switch it on in the Comet's page and sign it in with an auth key tagged
tag:kvm. Reach other devices through a subnet router, or on the wall's own network. - Tag the wall
tag:qkvm:tailscale up --advertise-tags=tag:qkvm. - In Tailscale's admin console, Access controls, put these rules in place of the default that lets everybody reach everything:
{
"tagOwners": {
"tag:kvm": ["autogroup:admin"],
"tag:qkvm": ["autogroup:admin"]
},
"acls": [
// The wall reaches the KVMs; nobody else does.
{"action": "accept", "src": ["tag:qkvm"], "dst": ["tag:kvm:*"]},
// People reach the wall, and nothing else of it.
{"action": "accept", "src": ["autogroup:member"], "dst": ["tag:qkvm:8787"]}
]
}
On NetBird, do the same with groups and policies: a group for the KVMs and one for the wall, a policy from the wall's group to the KVMs', one from your team to the wall on TCP port 8787, and the policy "Default" removed.
On the wall's side
| Option | What it does | Default |
|---|---|---|
--allow-from 100.64.0.0/10 | Answers tailnet addresses and this computer only, before there is a sign-in page | Everybody |
--bind tailscale | Listens on the tailnet address and this computer only (not in a container) | As saved in the app |
--tls-tailscale | Serves Tailscale's certificate for the wall's ts.net name | Off |
Names on the tailnet
With MagicDNS on, the wall is qkvm.<your tailnet>.ts.net. qKVM answers every ts.net name as its own; a public domain name must be added to allowed_hosts (see Advanced server settings). Add a KVM by its MagicDNS name on a plain install, or by its 100.x.y.z address in a container.
A certificate browsers trust
- Switch on HTTPS Certificates in Tailscale's admin console (DNS). The machine's and the tailnet's names then appear in public certificate logs.
- Start qKVM with
--tls-tailscale. - Open
https://qkvm.<your tailnet>.ts.net:8787/. Other names and addresses still get the wall's own certificate.
On Linux, where qKVM does not run as root, let its account fetch the certificate: run sudo systemctl edit tailscaled and add Environment=TS_PERMIT_CERT_UID=qkvm under [Service]. The certificate is renewed without a restart, and Settings > Network shows which one is served.
Never Funnel. Funnel puts a service on the internet for anybody. The wall holds KVM passwords and presses power buttons: keep it on your tailnet.