Relay
Edition: ENTERPRISEEnterprise
What it does
Relay collects from networks the cinqstack server cannot reach: a remote site, or an OT segment behind a firewall that allows traffic in one direction only. A small edge inside that network does the collecting. The edge only ever connects out, over HTTPS, to the cinqstack server. Nothing connects in to the edge.
You route a job to an edge. From then on, when the job runs, the server writes a work order instead of collecting. The edge picks the order up on its next poll, collects locally with the same collectors the server uses, and uploads a signed result. The server then plans the run as usual: plan, review, apply (see Collect, review and approve).
These jobs can be routed:
| Module | What the edge collects |
|---|---|
| Network devices | Switches over SSH. |
| vCenter | vCenter or ESXi over HTTPS. |
| Hyper-V | A Hyper-V host over SSH. |
| SolarWinds | Orion over SWIS. |
| Firewall policy | Check Point and Fortinet management servers; SCALANCE S/SC appliances over SSH. |
| Monitoring | The reachability checks of one scope. |
What travels between the server and an edge, and what waits on the edge's disk, is on What each connector reads.
How it stays safe:
- Every request is signed. At enrolment the edge makes its own key pairs; the server keeps only the public halves. Each request is signed with a timestamp and a one-time value. The server accepts a request only within 120 seconds of its own clock, and each one-time value only once.
- Credentials are sealed to one edge. The password an order needs is encrypted to that edge's key. The edge opens it in memory, uses it, and never writes it to disk.
- Results are signed. The server checks the edge's signature when a result arrives and again before using it.
- An edge can answer only its own orders. It cannot ask for other work or widen what is written to NetBox. Rules, review and apply stay on the server.
- Old results never overwrite newer ones. If an older collection arrives after a newer one was applied, it is marked superseded and never used.
What it needs in NetBox
Nothing extra in NetBox. The edge never talks to NetBox. The server reads NetBox to prepare orders (for example, the device list for a Network devices job or a monitoring scope) and to plan the results.
Setting up
All Relay pages are for admins.
1. Create an enrolment code
Open Connectors › Relay. Under the Edges table, type a name in New edge (for example "Site 2 edge") and click Create enrolment code.
The page shows Enrolment code for <name>, valid for 30 minutes and for one use only, with the commands to run on the edge machine.
2. Enrol the edge
The edge is the cinqstack package itself (cinqstack edge enrol, run and status), on a Linux VM, in a container or on Windows. Run the same version as the server where you can. If the edge must go through a web proxy, set the standard HTTPS_PROXY environment variable; the edge honours it. On the edge machine:
cinqstack edge enrol --hub https://cinqstack.example.com --code ABCD-EFGH-JKLM-NPQR --name "Site 2 edge"
| Option | What it does |
|---|---|
--hub | The cinqstack server's HTTPS address, as the edge reaches it: your reverse proxy in front of the server. |
--code | The enrolment code. |
--name | The edge's name. |
--state | Where the edge keeps its files. Default: $CINQSTACK_EDGE_DIR, or ./data/edge. |
--ca | A CA bundle, when the server's certificate comes from an internal CA. |
--insecure | Do not check the server's certificate. For labs only. |
The edge answers Enrolled as <edge id> (<name>), key fingerprint <fingerprint>. Check that fingerprint against the one on the Relay page.
3. Start the edge
cinqstack edge run
cinqstack edge status
Run cinqstack edge run as a service so that it survives a restart. On Windows, the offline bundle installs it as a service with cinqstack winservice install edge. cinqstack edge status prints the edge's last status.
4. Route jobs to the edge
On the Relay page, under Routes, pick the Job (grouped by module), choose Collect through and the edge, and click Route. The page confirms: <Module> job collects through <edge> from now on.
A job has at most one route. Routing it again moves it to the new edge. Remove sends the job back to the server: Route removed: that job collects directly from this server again.
For a vCenter or SolarWinds server that only the edge can reach, add its connection with Save without testing. The edge tests it on the job's first run.
5. Open the network paths
| From | To | What for |
|---|---|---|
| Edge | cinqstack server, HTTPS | Everything: enrolment, polling, uploads. |
| Edge | Switches, SSH | Network devices jobs. |
| Edge | vCenter, 443 (or the port on the connection) | vCenter jobs. |
| Edge | Hyper-V hosts, SSH (22, or the port on the connection) | Hyper-V jobs. |
| Edge | Orion, 17774 (17778 before 2023) | SolarWinds jobs. |
| Edge | Check Point management, 443; FortiManager or FortiGate admin port | Firewall policy jobs. |
| Edge | SCALANCE S/SC appliances, SSH (22, or the port on the connection) | Firewall policy jobs. |
| Edge | Devices, ICMP or the scope's TCP ports | Monitoring scopes. |
The edge's clock must be within 120 seconds of the server's: requests are signed, and the server refuses them when the clocks differ by more than that. Keep the clocks in sync with NTP on both.
Problems with enrolment, clocks and certificates are covered in Relay troubleshooting.
Reading the results
The Relay page

The Edges table shows, for each edge:
| Column | What it shows |
|---|---|
| Edge | Name, edge ID, key fingerprint, host name and the address it last called from. |
| Status | online (heard from in the last 2 minutes), offline or revoked. A clock more than 30 seconds off is shown here. |
| Last contact | When the edge last called in, and its last error if it has one. |
| Version | The edge's software version. |
| Can collect | The modules this edge can collect for. |
| Outbox | Results collected but not yet uploaded. |
Revoke (after a confirmation) stops an edge from connecting at once. Its waiting orders fail, and their runs say Relay edge <name> was revoked. A revoked edge can then be deleted. To bring an edge back, enrol it again with a new code.

The Routes table lists each routed job and its edge.
Recent work orders lists the last 30 orders with their module and run, edge, status, result size and any message.
| Order status | What it means |
|---|---|
pending | Waiting for the edge to poll. |
leased | The edge has taken it. If the edge does not finish within 30 minutes, it is offered again. |
uploaded | The edge's result has arrived and its signature checked. |
applied | The result was handed to its run. |
failed | The edge could not collect, or the edge was revoked. |
expired | Not delivered within 6 hours. |
rejected | The result failed a check, the collection was incomplete, or its run was no longer waiting. |
superseded | A newer collection for the same job was already applied. |
A routed run
A routed run shows status relay with Waiting for relay edge <name> to collect. When the result arrives, the run goes on as any other: planned, then reviewed and applied. The run log says Snapshot received from the Relay edge. If the edge fails, the run fails with the edge's own message, for example Relay edge <name>: vCenter login failed.
Address tables through the edge
A Network devices job routed to an edge gets the switches' ARP and MAC address tables back with the rest, read the same way as from the server (show commands only, 30 seconds and 20,000 lines per table). IP addresses records them as sightings labelled via Relay and the edge's name. An edge whose version doesn't send them still collects as before; its run log and the address page say this edge's version doesn't send address tables. Upgrade the edge to add them.
The edge also reports its own address (from version 1.1), so Firewall policy › Reach checks the firewall path from the edge for the devices it collects.
What the edge does
The edge polls the server about every 20 seconds and takes up to 5 orders at a time. If the server cannot be reached, it retries with a growing wait, up to 5 minutes, and keeps finished results in its outbox until it can upload them. Results are uploaded in pieces and resume after a broken connection. The outbox holds at most 2 GB; beyond that the oldest results are dropped.
The edge keeps its files in its state directory: edge.json (its private keys, readable by the owner only), edge.log and status.json.
Findings it raises
Findings appear in the Findings inbox.
| Finding | Severity | When |
|---|---|---|
Relay edge <name> has not been heard from | Medium | An active edge has not called in for 15 minutes, or has never connected. |
Limits
- Orders expire after 6 hours. A routed run whose order is not collected by then fails with
Relay edge <name> did not collect within 6 h. - One result per order, up to 200 MB.
- An incomplete collection is rejected, never planned.
- Edge and server versions should match. An edge too old for a work order fails that order with a message to upgrade the edge.
- Enrolment is rate-limited. After 10 failed attempts from one address, enrolment from it is blocked for 10 minutes.
- Credentials are never written to the edge's disk, but
edge.jsonholds the edge's private keys. Protect the edge machine accordingly, and never sendedge.jsonto anyone.