VeilNet

Getting Started

Deploy a guardian, from the realm credential VeilNet hands over to the first machine on your network.

Host
Linux on x86_64, with Docker
From VeilNet
The realm credential

Required Inputs

A guardian needs three inputs. VeilNet hands over the realm credential on hard media, such as a USB stick. Setup brings in conflux's release, and you provide the host and its settings.

InputFromWhat it is
The realm credentialVeilNetA single file, guardian_credential, that carries the private key of your realm's root. Keep it with your secrets, never with the images. Once VeilNet hands it over, it can't be taken back.
conflux's releaseSetup, from GitHubSetup builds the API server on conflux's release for the branch your checkout is on: latest on main, dev-latest on dev. The signer and the conflux your machines install both come from it, and the guardian keeps it current every hour. You copy nothing in.
A host and its settingsYouA Linux x86_64 host with Docker, its Compose plugin, openssl, python3 and git. It must reach GitHub while setup builds the stack. You also choose the one address that your operators and machines will use.

Installing the Stack

Run these steps on the host, in the guardian checkout. Setup asks no questions, so the same steps work for an unattended install. For each step in detail, see Deploying a Guardian.

0 of 4 done
  1. $ mkdir -m 700 secrets && cp /media/usb/guardian_credential secrets/

    The credential is the only file you put in secrets/. Setup creates everything else there.

  • https://guardian.example.gov shows the compliance profile's system-use notice, then the sign-in page.
  • The secrets directory holds the settings, the credential, every generated secret and the internal certificate authority.
Overview · Realm credential requiredGuardian console
Realm credential required: the steps to copy the realm credential to the host, validate it and restart the API before commissioning starts.

Signing In and Securing Accounts

0 of 3 done
  1. Open your guardian's address and accept the system-use notice. Sign in as a.morgan with the temporary password in secrets/first-admin.env. The identity service asks you to set up a one-time code and choose a new password. Then delete the password file:

    $ rm secrets/first-admin.env

    Create every later account in Manage › People. See Accounts. In brokered mode, there is no first administrator. Your identity provider holds the accounts, and its groups hold the roles.

Commissioning Bootstrap Nodes

Bootstrap nodes are a few of your own machines in the guardian realm, each with a public address. Every machine finds the network through them, and they relay traffic for every machine below them.

The admin node of the guardian realm also connects to the bootstrap nodes, so it has nothing to connect to until you commission the first one.

0 of 3 done
  1. Open Protect › Nodes and choose Commission node. The dialog takes four steps: Realm, Identity, Options and Review. Pick the guardian realm, then enter a name and the public address the machine will listen on, as host:port, for example 203.0.113.10:4700. The host can't contain :, , or @, and the port must be from 1 to 65535. Review the choices and choose Commission and sign. The console shows the manifest once. Download it and hand it to the machine's operator with the same care as an SSH host key.

Adding Sub-realms and Machines

Sub-realms keep groups of machines apart, because a machine exchanges data only with machines in its own realm. Your realm credential decides whether you can create sub-realms. If it allows none, setup warns SUB-REALMS ARE NOT AVAILABLE, and you commission every machine into the guardian realm.

0 of 3 done
  1. As an admin, open Protect › Realms and choose New sub-realm. The dialog takes three steps: Name, Range and Review. Enter a name and a description, then an IPv4 range of /30 or larger, review them and choose Create sub-realm. On Protect › Telemetry, with the sub-realm in scope, Current readings reads In-band starting, then In-band from the depot admin node.

Verifying the Tree

  • Stack & compliance, at the foot of the rail, shows three steps that the API verifies: ingesting the realm credential, commissioning the bootstrap nodes and collecting telemetry.
  • Protect › Telemetry reads In-band from the … admin node in every realm. Each realm's admin node has reached your bootstrap nodes and receives reports from its members.
  • Settings › Realm control shows whether console control is on and which powers your realm credential grants.
Stack & complianceGuardian console
Stack & compliance: service health, the post-install checklist, platform services, the compliance profile and the conflux release this guardian serves.