VeilNet

Air-Gapped Installation

Build the guardian images on a connected host, then install them on a host with no outbound network access.

What Travels to the Target

The guardian runs with no outbound access, but its build downloads base images, sources, npm packages, the console's two typefaces and conflux's release. Build on a host with internet access, then carry the result to the target host.

Fig. 01 — What travels to the target
CONNECTED HOSTBuildSETUP BUILDS EVERY IMAGECONFLUX FROM ITS RELEASESAVES THEM · SBOMSONE MEDIUMIMAGES · CHECKOUTSBOMSTARGET HOSTInstallLOADS THE IMAGESSETUP · NO BUILDOUT: ADMIN NODES TOYOUR BOOTSTRAP NODESCONFLUX UPDATES OFFVEILNETHARD MEDIAREALM CREDENTIALSEPARATELY, BY HAND

The connected host runs setup, which builds every image on conflux's release for the checkout's branch. The images, with conflux inside, the checkout and the SBOMs then travel to the target on one medium. VeilNet hands over the realm credential on hard media, and you carry it to the target separately and place it in the secrets directory there. With conflux updates off, the running target reaches out only from its admin nodes to your own bootstrap nodes.

WhatHow it travelsWhy
The imagesOn one medium, from the connected hostEvery image the stack runs. The API server's image carries every platform's conflux build of its channel's release, checked when the image was built. Setup stages the certificates with the loaded state-store image and pulls nothing. The target does not need the FIPS base, which travels inside the images built on it.
The guardian checkoutOn the same mediumSetup runs from it.
An SBOM for each imageOn the same mediumAn air-gapped site cannot generate one later.
The realm credentialSeparately, by hand, from VeilNet's hard mediaIt carries the private key of your realm's root, so keep it with the secrets, not with the images. Once it is handed over, it cannot be taken back.

Building on a Connected Host

0 of 3 done
  1. $ ./setup.sh

    Run setup in a checkout of the branch you deploy, as on any host. It reads conflux's release for that branch and builds every image, including the API server's image on that release. A plain docker compose build stops, because the API server's image needs the release that setup reads.

    If the build host cannot reach GitHub, carry in a conflux release directory, its SHA256SUMS and every build it lists, and build from it:

    $ ./setup.sh --conflux /media/usb/conflux-release

Installing on the Target

0 of 4 done
  1. $ zstd -d -c guardian-images.tar.zst | docker load
  • In setup's settings check, the credential line ends with renewal offline if VeilNet issued your credential for an offline deployment.
  • The run ends with Guardian is running.
  • The Realm credential card on the Overview reads Offline under Last renewal. This is a normal state, not an error.

Running with No Egress

Once installed, the guardian works with no outbound access:

  • You replace the realm credential by hand. An offline credential has no renewal address, so the guardian never connects out. VeilNet hands over a fresh credential before the old one expires. See Online, Offline and Expired.
  • Realm control works. The admin nodes connect only to your own bootstrap nodes. Blocks, compartment moves and network changes from the console need no other route.
  • Control from conflux works. With console control off, the console hands over a control credential once, as a file. You enrol it with conflux, and nothing renews it.
  • The target downloads nothing. Conflux travels inside the API server's image, and with conflux updates off, the guardian never asks for a newer release. The release details in a realm credential are for your information only, and nothing acts on them.