Atlas

This tab links the appliance to an EDON Atlas in two independent ways, one under the other:

This tab links the appliance to an EDON Atlas in two independent ways, one under the other:

  • Tunnel to Atlas: the appliance becomes a site of Atlas, with a WireGuard tunnel, the exchange of networks and Atlas’s domain, and with Atlas 1.3.6~deb81 or later its notifications too (see Notifications);
  • Backup on Atlas: the appliance becomes a backup client of Atlas; under it is the Restore block.

With either, the Atlas satellite card appears between the two: the appliance enrols by itself as a satellite of that Atlas (see below).

The block’s status line sums them up: “Tunnel: Linked · atlas.johnsmith.test · Backup: Enrolled · atlas.johnsmith.test”. Each half proposes as its address the one the other already uses, but it still has to be verified.

In both cases it is the appliance that connects to Atlas: no port is opened towards the internet. The complete scenario is Joining the site to EDON Atlas.

Tunnel to Atlas

The tunnel to Atlas, linkedThe tunnel to Atlas, linked
The tunnel to Atlas, linked

Joining the site

  1. In “Atlas address” type its public name or IP address, as the appliance reaches it (for example atlas.johnsmith.test), and press “Verify”.
  2. The console shows “EDON Atlas version”, the address and the “Certificate fingerprint (SHA-256)”. Compare it with the certificate Atlas shows: the link succeeds only with this certificate.
  3. In the Link box check the “Site name” (proposed from the host name): lowercase letters, digits and -, up to 32. It is the name Atlas lists the site under; a site with the same name already on Atlas is replaced.
  4. Type “Atlas administrator” and “Password” and press “Link”. The password is used once, for the link, and is not kept.
  5. The link changes the firewall: the console starts the header’s apply by itself. Confirm within 60 seconds.

What the link does:

  • it sends Atlas the private networks of the lan zone (between /16 and /30) and receives Atlas’s networks, which are routed into the tunnel;
  • if Atlas has a domain controller, its domain is resolved by Atlas (see below); if DNS protection was off, the link switches it on, and unlinking switches it off again;
  • the old VPN → VPN WireGuard profiles towards that same Atlas, which the link replaces, are deleted; if Atlas has a domain, the DNS forwarders and the forwarded domains that pointed inside those tunnels move to Atlas’s address in the tunnel.

Warning Always link to Atlas’s public address or name, never to an address that can be reached only inside an old WireGuard tunnel to Atlas: the link replaces that tunnel, and Atlas’s answer would no longer arrive. Atlas refuses such a link with “Atlas was reached inside the manual tunnel the join replaces: join with Atlas’s public address or name”.

The Tunnel to Atlas box shows:

Row What it says
“Atlas” Atlas’s address and version.
“This site in the tunnel” The appliance’s address in the tunnel, with the site’s name.
“Atlas in the tunnel” Atlas’s address in the tunnel.
“Domain” Atlas’s domain, or “none: Atlas has no domain controller”.
“Networks sent” The lan zone’s networks sent to Atlas.
“Networks Atlas refused” Only if there are any, with the reason: “not a valid network”, “not a private network (RFC 1918)”, “outside /16–/30”, “overlaps another network”.
“Networks received” Atlas’s networks routed here. Those that overlap a local network or another tunnel’s are listed as “not routed”.
“Last synchronization”, “Last error” The last exchange of networks with Atlas (every 5 minutes) and the error, if any.
“Tunnel” “Handshake fresh”, or “Waiting for the handshake”.
“DNS” “Atlas”, “fallback: the saved forwarders”, or “the saved forwarders: Atlas has no domain controller”.

In the figure the site headquarters (headquarters) is linked to atlas.johnsmith.test: “This site in the tunnel” 10.250.0.2, “Atlas in the tunnel” 10.250.0.1, “Domain” corp.johnsmith.test, “Networks sent” 192.168.10.0/24 (the office LAN), “Networks received” 10.20.0.0/24.

With the tunnel waiting, the notice “Waiting for the handshake: check that UDP port n of Atlas is reachable from here.” appears. If the firewall has changes not applied, a box says so (“The link changes the firewall: apply it to complete.”) with the “Apply” button.

The domain’s DNS. As long as the link exists, Atlas’s domain is forwarded to Atlas. As long as the tunnel has a fresh handshake (3 minutes) and Atlas has a domain, all the other DNS queries go to Atlas as well; otherwise the appliance uses the forwarders saved in DNS and DHCP → DNS protection, which remain the fallback. Two notices may appear:

  • “The DHCP scopes of interface hand out an explicit DNS: their clients will not resolve Atlas’s domain.”: a DHCP server of the lan hands out a DNS other than the appliance;
  • “The DC’s address changed: link again to update the forced DNS exemption.”.

What goes through the tunnel. From the lan to Atlas everything passes; from Atlas to the site only pings pass; no other zone reaches Atlas, and Atlas sees the clients’ real addresses (no NAT). The sites do not talk to each other: each one talks only to Atlas.

Unlinking, revocation and “Remove”

  • “Unlink” (the Leave box, with confirmation): Atlas is told and forgets the site; the tunnel, its state and the firewall zone disappear, and the DNS goes back to the saved forwarders. Here too the console starts the firewall apply, to be confirmed. If Atlas does not answer, the unlinking happens here anyway, with the notice “Atlas did not take the leave: revoke this site on Atlas”.
  • Revocation from Atlas: if an Atlas administrator revokes the site, the block shows Link revoked: the tunnel is down and the link carries nothing any more. “Remove” deletes the state and the firewall zone, and lets you link again.

Main messages

Message What to do
“Atlas refused the user name or the password” / “That user is not an administrator of Atlas” Check the credentials: an Atlas administrator is needed.
“Too many failed attempts: wait a few minutes before trying again” Atlas has blocked the attempts for a while.
“The certificate of Atlas changed since it was confirmed: verify the address again” Press “Verify” again and check the fingerprint.
“Atlas does not answer at that address” / “That address does not answer like an EDON Atlas” Wrong address, or not reachable on tcp 443.
“The lan zone has no private (RFC 1918) network to send: give one of its interfaces an address first” Configure the lan first.
“A network of this site overlaps one Atlas already has: …” Two sites use the same network: one of the two has to be renumbered.
“A network of this site is outside /16–/30: …” Atlas accepts networks between /16 and /30.
“This Atlas is too old for the link: update it first” Update Atlas.
“The join was sent but not answered: Atlas may already list this site — joining again replaces it” Try the link again with the same name.

For the technician The interface is wg-atlas (unit wg-quick@wg-atlas.service), reserved but visible like the others; the state is in /etc/edon/argos.atlas.json (0600: private key, pre-shared key, token). The argos-atlas-link.timer timer (one pass every minute) checks the handshake, decides the DNS and synchronises the networks every 5 minutes, calling Atlas on its 443 inside the tunnel; it never writes argos.json. The firewall zone comes from the link’s file: without a link the ruleset is identical to that of an appliance never linked.

Atlas satellite

The “Atlas satellite” card connected through the hubThe “Atlas satellite” card connected through the hub
The “Atlas satellite” card connected through the hub

An appliance linked to Atlas with the tunnel, or enrolled for the backup, enrols by itself as a satellite of that Atlas and keeps a channel open to its tcp 443: in Atlas, Settings → Argos → “Satellites”, it appears with its version, the state of its firewall and “Management from Atlas”. With the tunnel the satellite belongs to the tunnel’s Atlas; with the backup alone, to the backup’s (edon-agent 1.8.0 or later is needed).

  • The status: “Connected to Atlas name through the hub” (or “… through the backup”) in green, with “since …”; otherwise, in amber, “Waiting for Atlas”, “Atlas does not support satellites yet”, “Atlas cannot be reached on port 443 from this site”, “The backup on Atlas refuses this Argos”, “Atlas does not recognise this Argos”, “Another machine uses this satellite identity” or “Revoked by Atlas”, with the reason of the last attempt below.
  • “Management from Atlas”: on (the initial value) Atlas may manage the appliance, off it can only read its status. Today Atlas only reads the status. It changes only from this console or argos-cli, never from Atlas nor from an AI assistant, and a restore from a backup does not change it. “Save” → “Management from Atlas saved”.
  • “Enrol again” (the button at the top right of the card): enrols again at once, for example after the satellite was turned back on in Atlas. Message “Enrolled again”; with neither tunnel nor backup, “No link to Atlas: neither the hub nor the backup”.

The scenario, with what to do for each status, is in Joining the site to EDON Atlas.

For the technician The satellite’s key is in /var/lib/argos-satellite/ (0700), outside the backup’s paths; /etc/hosts has the line atlas.satellite.invalid (comment EDON Atlas (satellite)) at the address where Atlas’s 443 answers; the channel is an mTLS WebSocket the console opens towards Atlas: nothing opens towards the appliance.

Backup on Atlas

The backup enrolled on AtlasThe backup enrolled on Atlas
The backup enrolled on Atlas

Argos enrols as a backup client of Atlas: Atlas decides when to back up, keeps the copies and restores them. It is the appliance that connects to Atlas on tcp 8443. The backup client is edon-agent, installed with Argos; if it is missing or older than 1.8.0, the block says so and shows the command to install it.

Enrolling the backup

  1. In “Atlas address” type a host name or an IPv4 address, with an optional :port (no https://, no path), and press “Verify”.
  2. Check the version and the “Certificate fingerprint (SHA-256)”: the enrolment succeeds only with this certificate.
  3. In the Backup enrolment box check:
    • “Name on Atlas”: proposed from the appliance’s full name. Atlas identifies the client by this name: a name already used by another device takes its place (which is what you need when you replace a failed appliance);
    • “Source address”: the IPv4 address Atlas will see the appliance arrive from, proposed by the verification. Behind a NAT put the public one (for example 203.0.113.10), through a tunnel the tunnel’s.
  4. Type “Atlas administrator” and “Password”: they are used only once and are not kept.
  5. Press “Enrol”. The message is “Enrolled on Atlas”.

The box says what is backed up: /etc (Argos’s configuration and its secrets, the accounts, the network, the certificates), /var/lib/argos and /var/lib/edon (the machine’s identity). Atlas may change the list later.

On Atlas

After the enrolment, Atlas needs: the “backup” service (tcp 8443) open in Atlas’s local firewall, and a schedule for the client (in Atlas, Backup → Clients → name: the storage and the cycles). As long as Atlas schedules nothing, the block says so.

The status

The Backup on Atlas box shows whether Atlas answers (“Atlas answers.” or “Atlas does not answer: …”), then “Atlas”, “Name on Atlas” with the client’s number, “Schedule” (for example “daily at 22:00 (Europe/Rome)”), “Saved paths”, “Last backup” (with the notice “some files could not be read” if partial), “Last failure” and “Client certificate” (“valid until …”). Atlas is asked at most every 5 minutes; right after the enrolment the block reloads by itself until the first answer arrives.

The client certificate lasts a year and renews itself. The Status page reports a backup missing for too long, a failed last backup, Atlas unreachable, no schedule, and a certificate expiring or expired.

“Remove” (the Remove the enrolment box, with confirmation) tells Atlas and deletes the appliance’s certificate and key. The backups stop; the copies already made stay on Atlas.

Restore

The Restore block with a restored backupThe Restore block with a restored backup
The Restore block with a restored backup

A restore from Atlas never lands on top of the files in use: it lands in a folder of the appliance, /var/lib/argos-restore, and the configuration is brought back from there. There are two phases.

Phase 1, on Atlas. In Atlas: Backup → Clients → name → Restore. Choose the backup and, as the destination, the folder /var/lib/argos-restore. The appliance refuses any other destination, the original location included.

Phase 2, on Argos. Back on System → Atlas, the Restore block lists what it finds in the folder: the name of the backed-up appliance, the Argos version and the date of the backup, the path. For each one:

  • a warning if the backup has no manifest (“Without a manifest the Argos release of this backup cannot be checked: restore it only if it comes from this release or an older one.”);
  • a warning with the interfaces the backup’s zones name and this appliance does not have (“… reassign them in Zones.”).

“Restore” asks for confirmation and offers two switches, off by default:

  • “Interface addresses and VLANs”: from the backup’s /etc/network/interfaces. The network restarts, and the console may move to the backup’s address;
  • “Machine identity and product registration”: only for an appliance that takes the place of the backed-up one. Two appliances must never share them. Not available with an active link to Citadel.

The restore:

  1. sets the current configuration aside (next to it, as argos.json.before-restore-…);
  2. writes the backup’s configuration, keeping this appliance’s console certificate settings and firewall state;
  3. brings back the secrets the configuration refers to: the relay’s password, the IPsec CA and credentials, the PPPoE passwords;
  4. puts the services back in line as after a save of their pages (routes, gateways, QoS, VPN, IPsec, DNS, inspection, name, reverse proxies, DHCP, application control). A step that fails becomes a note in the block (“Not in line yet — save these pages again:”);
  5. moves to the header’s firewall apply: confirm within 60 seconds.

Not restored (they stay in the folder, for a copy by hand): the console’s accounts and second factors, the console’s certificate and CA, the Let’s Encrypt certificate, the link to Citadel, the link of the tunnel to Atlas and the update policy.

The restore is refused if the backup comes from a newer Argos (“This backup comes from a newer Argos: update the appliance first”), if a firewall apply is awaiting confirmation, or if the restored configuration would take the console away from the connection you are working from (“… restore from another zone, or with argos-cli”). It is refused too while the first-run setup’s Network step of an Argos EDON Krios created holds the network (“The setup’s Network step (EDON Krios) holds the network: finish it or put it back before restoring”).

When the restore is done, press “Delete files”: the folder holds the appliance’s secrets (keys, passwords).

The scenario Replacing a failed appliance follows every step.

For the technician Argos drives edon-agent (/etc/edon/agent.json) and does not speak the backup protocol. Before every backup the hook /etc/edon/agent.d/hooks/pre.d/50-argos writes /var/lib/argos/backup-manifest.json (version, name, confirmed ruleset, network cards). The caches (DNS lists, App-ID, Suricata rules) are outside the backed-up paths. The Atlas administrator’s password reaches edon-agent in the environment, never on the command line.

LET’S TALK INFRASTRUCTURE

Control starts with a conversation.

Tell us about your infrastructure. Let’s start with what you actually need.

Talk to an engineer