All pages

Advanced server settings

A few server settings have no place in the web page: extra public host names, and how much history and activity log the wall keeps. Whoever runs the server changes them offline.

Change them

  1. Stop qKVM.
  2. Write a small JSON file, server-settings.json say:
{"allowed_hosts": ["kvm.example.com"], "history_days": 90, "history_mb": 200, "activity_mb": 100}
  1. As the account that runs qKVM, apply it with the server's storage key:
qkvm --data-dir /path/to/data --vault-key-file /path/to/private/vault.key --configure-server server-settings.json
  1. Start qKVM again.

The settings

SettingWhat it doesDefault
allowed_hostsPublic host names the wall answers to besides its own. Replaces the whole list; an empty list removes them all.None
history_daysDays of history kept90
history_mbThe most history kept, in MB200
activity_mbThe most activity log kept, in MB50

Rules

  • Only these four fields are taken. Fields you leave out stay as they are.
  • Write host names without a scheme, path, port or wildcard.
  • The command refuses to run while qKVM runs on that folder, and checks both copies of the settings before it changes anything.
  • It cannot change accounts, passwords, two-factor sign-in or permissions.
  • Never edit qkvm.json or qkvm.bak by hand: they are encrypted.

Names under ts.net need no entry: qKVM answers them already. See Over Tailscale or NetBird.

Full reference