First sign-in and using the console

The Argos console is a web application served by the appliance itself. This chapter explains how to open it the first time, how to sign in, how the page is laid out, how to work with lists and…

The Argos console is a web application served by the appliance itself. This chapter explains how to open it the first time, how to sign in, how the page is laid out, how to work with lists and details and, above all, how to apply and confirm the changes to the firewall.

Opening the console

Open the appliance’s address in the browser over HTTPS, without a port:

https://192.168.10.1/

It is the address that the appliance’s text console shows in its banner (“WebUI: …”) after the installation. If you type http:// you are sent on to https:// by itself.

The console answers from the zones where you have switched it on: always from the lan, and from the other zones only if System → Management access allows it. As long as the lan has no interfaces, that is, right after the installation, it answers from every card. From a zone where it is not switched on you see at most the page “The console does not answer from this network zone.”.

The title of the browser tab is <appliance name> :: Argos (for example argos :: Argos): useful when you keep the consoles of several appliances open.

The certificate

The first time, the browser warns that the connection is not private or that the certificate is not trusted. That is normal: the console’s certificate is signed by a private CA of the appliance, created at installation, which the browser does not know. The connection is encrypted all the same.

You have two options:

  • accept the warning this once (the browser offers to proceed anyway): fine for the first sign-in, but the warning comes back every time the certificate is reissued;
  • trust the appliance’s CA, once: from then on the browser accepts every certificate the appliance signs for itself, the reissued ones too.

Trusting the appliance’s CA

  1. Sign in to the console (accepting the warning), complete the first-run setup and go to System → HTTPS certificate.
  2. With “Certificate” on “Self-signed (private CA)”, press “Download CA”. The browser saves the file argos-ca.crt; the CA’s name is EDON Argos CA followed by the appliance’s name.
  3. Import the file among the computer’s trusted root certification authorities (in Windows, by opening the file and choosing the trusted root certification authorities store; in macOS, in the System keychain, setting it to Always Trust). Firefox uses a store of its own: there, import it from the certificate settings, among the authorities.
  4. Close and reopen the browser and open the console again.
System → HTTPS certificate, with the “Download CA” buttonSystem → HTTPS certificate, with the “Download CA” button
System → HTTPS certificate, with the “Download CA” button

The console’s certificate is valid for the appliance’s short name (argos), for the full name (argos.johnsmith.test), for localhost and for all of the appliance’s IPv4 addresses. Open the console with one of these: with another name the browser warns even if the CA is trusted.

Argos reissues the certificate by itself when 30 days are left before it expires, when the appliance’s addresses change and when you change the name in System → Host identity. If you trust the CA you do not notice; if you had only accepted the warning, the browser shows it again.

For the technician The CA lasts ten years and is not recreated by itself, unless its certificate and its key no longer match: in that case it has to be imported into the browsers again. The console’s certificate lasts 825 days. For a public name with a certificate every browser recognises there is the “Let’s Encrypt” mode, described in System.

Signing in

The sign-in page asks for “Username” and “Password” and has the “Log in” button; under it, “Sign in with a passkey” (see below). At the bottom right is the choice of language, at the top the theme.

The sign-in pageThe sign-in page
The sign-in page

Who can sign in

Only these sign in to the console:

  • root;
  • the accounts of the sudo group that have a valid password and are not disabled.

The accounts are created and managed in System → Users; every account created there joins the sudo group, so it is a full administrator of both the console and the appliance. Any other account of the appliance is refused with “Invalid credentials”, like a wrong password.

The check applies at every request, not only at sign-in: an account that is taken out of the group, disabled or deleted at once loses its open sessions too.

The second factor

From some networks the console asks, after the password, also for the six-digit code of an authenticator app (Atlas Caveau, the EDON Atlas password manager, which also generates the codes; Google Authenticator, Microsoft Authenticator, FreeOTP, 1Password and the like). It happens:

  • always when you sign in from the wan;
  • from the zones for which you have switched on “Console 2FA” in System → Management access, the lan included if you want.

Before the password, the page warns: “From this network the console also asks for a second factor: the code of an authenticator app, or a passkey.”. After the password “Verification code” appears: type the six digits in the “Code” field and press “Verify”. “Use another account” goes back to the first step. The code must be entered within 5 minutes of the password, otherwise the page says “Too much time went by: sign in again”.

The second step of the sign-in: the authenticator app's codeThe second step of the sign-in: the authenticator app's code
The second step of the sign-in: the authenticator app's code

The second factor is switched on for each account in System → Users, from that account itself. An account that has not switched it on cannot sign in from the zones that ask for it: it gets “Invalid credentials”, and only the appliance’s journal gives the reason. The factor is not set up at sign-in, otherwise anyone who knows the password could register their own phone.

An appliance whose lan zone has no interfaces yet never asks for the second factor: it is not configured yet, and nobody can have set one up.

A session opened without a code (for example from the lan) does not hold when the same person arrives from a zone that asks for it: there they have to sign in again, with the code.

For the technician A client’s zone is that of the interface the appliance answers it from (the return path), not the address the client contacted: a client on the WAN segment that contacts the appliance’s LAN address remains a wan client. A request that does not go through nginx, such as an SSH tunnel to the console’s local port (ssh -L 3000:127.0.0.1:3000 root@argos), never asks for the code. If you lose your phone, another administrator removes your factor from System → Users, or root removes it from the shell with argos-mfa-reset <account>.

With a passkey

A passkey signs you in without a password: the device (the phone, the laptop, a security key) asks for the fingerprint, the face or the PIN, and that is all. It counts as the second factor too, so it also gets in from the zones that ask for the code, the wan included.

  • Press “Sign in with a passkey” and choose the passkey the browser offers; or touch the “Username” field: the browser lists the passkeys it knows for this console from there.
  • Passkeys are added in System → Users, each person for their own account (see System).

The button appears only where a passkey can work:

  • with the console opened by its name (https://argos.johnsmith.test/), not by its address (https://192.168.10.1/): a passkey belongs to a name;
  • on an HTTPS page the device trusts: the Let’s Encrypt certificate, or the console’s with its CA installed (see Trusting the appliance’s CA above). Chrome does not use passkeys on a page with certificate errors.

If the passkey is not registered on this console (it was removed, for instance), the page says “This passkey is not registered on this console (it may have been removed): sign in with your password.”, and the browser stops offering it. Failed attempts with a passkey count like those with the password.

For the technician Passkeys are discoverable WebAuthn credentials, with user verification always required; the relying party is the name the browser opened the console with. Renaming the console turns off the old name’s passkeys: in System → Users each passkey says which name it is for.

Failed attempts

To slow down whoever tries passwords, the console counts the failed attempts, password or code:

  • 5 errors by the same account from the same client block that pair for 5 minutes;
  • 20 errors by the same account from any client block that account from everywhere for 15 minutes.

During the block the page answers “Too many attempts — try again in a few minutes”, even with the right password. The block expires by itself; it concerns only the console, not SSH. If the password check does not answer within 30 seconds, the page says “Sign-in failed”.

For the technician Every failed attempt (a password, a code, a passkey or a “Confirm it is you” refused) ends up in the journal of the argos.service service with the same fixed line, [argos-auth] failed login for user "<account>" from <address>, suitable for a fail2ban filter; the line before it says how it failed. The count lives in the console’s memory: a restart of argos.service resets it.

Session length and signing out

A session lasts 8 hours from sign-in, however much you work. When it expires the console sends you back to the sign-in page and, after signing in, takes you back to the page you were on.

To sign out, open your account’s menu at the bottom of the sidebar and choose “Sign out”. The session is closed on the appliance too: the same cookie, if someone had copied it, is no longer valid.

The first-run setup

The first-run setup at the license stepThe first-run setup at the license step
The first-run setup at the license step

At the first sign-in the console does not open its pages at once: each of them leads to the “First-run setup” until two steps are done, in order.

  1. License. The license’s text (FSL-1.1-ALv2) is read whole in its box, which the keyboard scrolls too. Switch on “I have read and accept the license” and press “Accept and continue”. The acceptance is given once and records who gave it (the account, or the EDON Citadel session that gave it); it is never inferred from a registration: an Argos registered before this version asks for it at the next sign-in.
  2. Registration. The form is that of System → Product registration (System): send it, type the 6-digit code mailed to the technical contact, and the registration becomes active. Without the license accepted the registration is refused.

Only when the registration service does not answer (no Internet, the service down) you can press, under the form, “The service does not answer: continue for this session”. Argos checks it itself: if the service answers, the button unlocks nothing; if it does not, the console opens for this session, with a row in the operations log, and the next sign-in asks for the registration again.

Once the setup is complete, resetting the registration in System → Product registration no longer locks the console. An Argos EDON Krios created has a third step, Network, which can wait with “Later”: it is described in Installation.

For the technician The state is kept in /etc/edon/argos.setup.json (0600): when and by whom the license was accepted, when the setup was completed, when the network step was put off. During the setup the console’s pages do not open in the browser, but the argos command does, from SSH or the text console: argos system setup shows where the setup stands and drives it (Argos from the shell). System → Shell is one of the console’s pages: during the setup it cannot be reached.

How the page is laid out

The console: sidebar, header, area and tabsThe console: sidebar, header, area and tabs
The console: sidebar, header, area and tabs

The sidebar

On the left is the sidebar with the brand, the console’s ten areas (described in What Argos is) and, at the bottom:

  • the name of the company the product is registered to, when the product registration is active;
  • the Argos version (“Version: … ARGOS”);
  • your account, with the initials, the name and the line account (uid N). A click opens the menu with “Notifications” and “Preferences” (see Notifications below), “AI assistants (MCP)” (your tokens for an AI assistant: chapter System, section AI assistants (MCP)), “Switch language” (Italiano, English) and “Sign out”.

The button at the left end of the header collapses the sidebar to a column of icons, or opens it again; the console remembers the choice. On a narrow screen the sidebar is a panel that opens with the same button and closes by itself when you choose a page.

The header

From left to right:

  • the appliance’s name (on wide screens);
  • the path: the area and the tab you are in, for example “Zones and rules › Zones”. When you open an item, the path ends with its name (“Zones and rules › Zones › LAN”, or “… › Zones › New zone” while you create it), and the tab becomes a link back to the list. On a narrow screen only the last entry is left;
  • the firewall status button, with a flame icon, which says “Active” (rules loaded, nothing pending), “Inactive” (no rules loaded) or “Unapplied changes” (there are saved changes to apply: the button turns solid). A click opens the “Firewall status” menu, with the state, “View the changes” when there are some, and the “Apply” command;
  • the assistant (“Assistant”), once an administrator has turned it on: it opens on the right the panel where you ask the AI assistant (chapter System, section Assistant);
  • the bell (“Notifications”): the appliance’s latest notifications; of the new ones since you last opened it, a green number counts those that went well and a red one the errors (see Notifications below);
  • the theme (“Toggle theme”): “Light”, “Dark” or “System”, which follows the computer’s setting;
  • the power menu (“Power”): “Reboot” and “Shut down” the appliance.
The “Firewall status” menu with changes to applyThe “Firewall status” menu with changes to apply
The “Firewall status” menu with changes to apply

Notifications

What the appliance has to tell its administrators reaches the bell in the header: a certificate expiring or not renewed, an nginx site that could not be applied, an IPsec certificate to renew, the outcome of an update, a device that contacted a decoy. Every console account receives the same notifications. Of the notifications that arrived since you last opened it, the green number at the top left of the bell counts those that went well, the red one at the top right those with an error (an operation that failed, a notification of severity error or critical); the other new ones, a minor warning or a piece of news, have no number, but the bell’s label counts them. While an operation is running the bell turns orange. A dot beside a row says you have not read it yet. A notification that arrives while the console is open also shows as a notice at the bottom.

The bell open, with two notifications to readThe bell open, with two notifications to read
The bell open, with two notifications to read

A click on a row opens the notification in Account → Notifications (from your account’s menu): the history of the last 90 days, 500 notifications at most, which you can filter (“All”, “Unread”, “Archived”) and by category. The detail shows the whole text and the deliveries: where the notification went besides the bell, mail for example. From the detail’s bar you mark it read or unread, archive it or delete it; from the list’s bar you mark all of them read or delete the read ones.

Account → Preferences says, category by category, on which channels you want the notifications: the bell and, while the mail relay is on, mail. A console account has no mailbox of its own: add in the “Mail” card the addresses that should receive them, each one confirmed with the code the appliance sends it. On the same page you choose the language of the messages that leave the console and the quiet hours. A cell with a lock is “Required”: the administrator set it in System → Notifications.

The e-mails the appliance sent before the notification centre keep reaching the same addresses: the recipients of System → E-mail notifications receive every notification, as before.

Area and tabs

Below the header are the area’s tabs: the page does not repeat the area’s title, which you read in the path. Each tab has an address of its own (for example /zones, or /settings?block=console for System → Management access), which you can bookmark or pass to a colleague.

A click on an area of the sidebar or on a tab always shows the page’s list, also when it is the page already open: if you were looking at an item, its detail closes (with the “Unsaved changes” question if you changed something), and coming back to a page from the sidebar or the tabs does not reopen the last item you chose. Reloading the browser page, instead, reopens the item you were looking at.

After signing in, the console opens on System status → Status, described in System status.

Lists and details

Almost all the pages that manage several items (zones, gateways, publications, VPNs, users…) are built the same way: a list and, when you choose an item, its detail.

The list

The list has a single bar, with:

  • the title and below it the count, in the form “3 / 5 records” (those shown out of the total);
  • the search: a click on the magnifying glass (“Search”) opens the field, and the filter applies as you type; Esc clears and closes it;
  • the list’s actions, on the right, icons only with the name in the tooltip: “Reload” (reads the data from the appliance again) and, at the far right, the “+” button that creates a new item (the tooltip says what, for example “Add zone”). Some lists also have “Import”.

An empty list says “No items”; a search that finds nothing, “No results”. Below the list, until you choose an item, the page explains what it is for and, under “How to”, the typical steps.

Zones and rules → Zones: the list with the search openZones and rules → Zones: the list with the search open
Zones and rules → Zones: the list with the search open

The detail

A click on a row opens the detail. The detail’s bar has:

  • on the left the arrow to go back to the list (tooltip “List”);
  • the title, which names the page and the item: “Zones / LAN”, or “Zones / New zone” for an item you are creating;
  • the list’s actions (“Reload”, “+”), and then the actions on the item, for example the bin “Delete zone”. A new item has none: there is nothing to delete yet. An action that cannot be used stays grey and the tooltip says why (the wan and lan zones, for example, cannot be deleted);
  • on wide screens, the “Show list alongside detail” button, which puts list and detail side by side; the border between the two can be dragged to widen the list, and “Focus on detail” goes back to the full-page detail.

At the bottom of the form, on the right, is the save button. Its name says what it does: “Create zone” for a new item, “Save zone” for an existing one (and so “Create gateway”, “Save publication”…). For an existing item it is active only when you have changed something. Next to it, when there are changes, “Restore” appears, which brings the form back to the saved values.

When the save succeeds, the console goes back to the list, where you find the saved item; to see it again, click its row. When it does not, the form stays open with what you wrote and the errors. The operations that are not the form’s save stay on the detail too (for example a reverse proxy’s “Request certificate”), and so does an IPsec tunnel waiting for its certificate from a signing request or a PKCS#12 bundle: that step is done on the saved tunnel.

Deletions always ask for confirmation in a “Confirm action” window, which says what will happen (for a zone: “The interfaces it holds become unassigned and its publications are switched off.”).

Zones and rules → Zones: the detail of the LAN zoneZones and rules → Zones: the detail of the LAN zone
Zones and rules → Zones: the detail of the LAN zone

Lists inside a detail

Some items hold a list in turn: a zone’s inbound services and forward rules, a DHCP scope’s reservations, an interface’s additional addresses. Each sits in a box with its own title and, to the right of the title, the “Add …” button (“Add service”, “Add rule”). Each entry is created and edited in a dialog; in the list a summary row of it remains, with the buttons to edit or remove it.

What you do in the dialog goes into the form, not yet into the configuration: to write it you then have to save the detail.

Unsaved changes

If you have changed something and try to leave (another item of the list, the arrow, another tab or area, the one already open included, the browser’s Back button), the console asks what to do in the “Unsaved changes” window:

  • “Cancel” leaves you where you are, with the changes;
  • “Discard” throws them away and goes on;
  • “Save” saves and, if the save succeeds, goes on; if it does not, you stay on the form with the errors.

Closing or reloading the browser tab with pending changes also brings up the browser’s warning.

The effect of saving

Above the save button is the “Effect of saving” box, which says what saving will do on that page. For example, on the zones:

Saves the configuration. Use Apply in the header to activate firewall changes. Dependent services may be updated when saving. The console follows the saved configuration at once: a save that would cut it on the interface you are using is refused.

On other pages the effect is mixed. On DNS and DHCP → DHCP, for example, the box says:

Updates the service when saved. Changes to zones or firewall enforcement may also require Apply in the header.

The DHCP service changes at once, but switching a server or a relay on or off on an interface also opens or closes UDP port 67 in the firewall, and that part takes effect with “Apply”.

Read it the first time you use a page: it tells you whether you will have to press “Apply” after saving or whether the change is already in effect. The full picture is in Key concepts.

Errors and notifications

A value the console does not accept is reported under its field, with a message that says what to write (“Invalid ports (use 443, 137-139 or 80,443)”). The outcomes of an operation appear as notifications at the top right, below the header, away from the forms’ “Save” and from the buttons at the top: green for a success, red for an error, with the reason after a dash. For example, a save refused by the protection against lockout:

Saving the zone failed — You would lose the console on the interface you are using: do this from another zone, or with argos-cli

The settings tabs

Some tabs are not lists but a single form: System → Host identity, System → Management access, DNS and DHCP → DNS protection and the other “settings”. They have a box with the title, a line of explanation and, on the right, “Reload” (plus the “+” when they manage a list, such as DNS and DHCP → Local DNS). The “Effect of saving” box is at the top; the form’s “Save” button at the bottom right. Here too the console warns if you leave the tab with unsaved changes.

Applying and confirming

Changes to the firewall and to the gateways become operative only with “Apply”, and stay only if you confirm them within 60 seconds. The why is explained in Key concepts; here is the how.

Step by step

  1. Save the changes on the pages you need: a zone, a publication, a gateway. The firewall status button in the header turns solid and says “Unapplied changes”.
  2. Open the menu with a click on that button. The “Firewall status” menu sums up the state: “Active” or “Inactive”, and “Unapplied changes” or “No pending changes”.
  3. Press “Apply”. The appliance takes a snapshot of the rules and gateways in service and loads the new ones. The same “Apply” button is in Zones and rules → Overview.
  4. The “Keep the new ruleset?” window opens: “The new ruleset is live with a rollback timer armed. If you do not confirm, the previous ruleset is restored automatically.”. Below it is the countdown in seconds.
  5. Test the change, from another browser tab or from another device: browsing works, the published service answers, the console can still be reached.
  6. Press “Confirm”. The notification “Ruleset confirmed” closes the cycle: the new rules stay and are the ones the appliance reloads at every boot. The button in the header goes back to “Active”.

If something is wrong, press “Revert”: the previous rules and gateways come back at once, and the notification says “Ruleset reverted”. The changes stay saved: correct them and apply again.

The window does not close with Esc or with a click outside: only with “Confirm” or “Revert”, or when the time runs out.

The confirmation window with the countdownThe confirmation window with the countdown
The confirmation window with the countdown

Some pages start “Apply” by themselves: Published services → Reverse proxy, after a save that changes the zones a proxy answers on; System → Atlas, after “Link”, “Unlink” or “Remove” and after the restore of a backup; System → Remote Support and Monitoring, after linking or unlinking. The confirmation window is the same, and must be confirmed the same way.

If you do not confirm

If the countdown reaches zero without a confirmation, the window closes, “Ruleset reverted” appears and the page reads the data again. The rollback is done by the appliance by itself, with its own clock: it happens even if you closed the browser, if the computer switched off or if the new rule took your connection away.

So, if after “Apply” the console no longer answers, do nothing for a minute: the previous rules come back by themselves, and the console can be reached again. Reload the page, find the error in the saved configuration, correct it and apply again.

If the confirmation arrives late

If you press “Confirm” when the appliance has already rolled back (for example because the network was slow and the time was nearly up), the console does not pretend it went well. The error notification appears:

The confirmation window had already expired: the previous rules are back

The rules in service are the previous ones, and the button still says “Unapplied changes”. Apply again and confirm with more margin.

If the apply is refused

Before loading anything, the appliance checks the saved configuration as a whole. If it finds a problem (a zone that names an interface the appliance does not have, a publication that would take SSH’s port where SSH answers) it loads nothing and leaves the previous rules in service. The notification says “The saved configuration cannot be applied” and, after the dash, what to correct: for example “zone wan: interface eth3 is not on this host”, or “publication Website: takes tcp/22, where SSH answers: switch it off or move it”. The system journal keeps the technician’s detail, with the problem’s code.

If instead it is nftables that refuses the new rules, the notification says “Applying the ruleset failed”, with the reason after the dash, and the appliance puts back the rules from the snapshot at once.

Reloading the page, changing page, several tabs

The confirmation window belongs to the header, not to the page: you can change page while it is open. If you reload the page, or open the console in another browser tab or on another computer, the window appears again with the time that is left, and you can confirm from there. Confirm from one tab only: in the others the window closes when the page reads the data from the appliance again (when you change page or with “Reload”). If you let it reach zero in another tab, the notification it shows does not count: reload the page and look at the button in the header.

If the appliance or its console restarts while an apply is waiting for confirmation, the apply is cancelled and the rules confirmed before come back.

Reboot, shutdown and updates

From the power menu in the header choose “Reboot” or “Shut down”. The console asks for confirmation (“Reboot the appliance now?”, or “Shut down the appliance now? It stays off until switched back on.”) and, after “Reboot” or “Shut down”, moves to a waiting page. If the appliance refuses the request, the notification says “The appliance refused the request and keeps running. Reload the page and try again.”.

The reboot’s waiting page shows “Rebooting…”, a three-minute countdown and, below it, “checking availability”: every ten seconds it checks whether the appliance answers. When it answers it shows “Back online” and takes you back to System status → Status by itself.

  • If after ten minutes the appliance has still not answered, the page shows “Still waiting”, with “Open the console” and “Retry”. Check the appliance on site (power, screen, cables).
  • If the browser keeps getting no answer while the appliance should already be up, the certificate may have been reissued (for example because the addresses changed): the browser asks you to accept a new one only when it loads a page. The page explains this and offers “Open the console”.

After “Shut down” the page shows “Shutting down”: the appliance stays off until someone switches it back on.

The same kind of page goes with an update started by hand from System → Updates: “Updating…”, and at the end it goes back to that tab. If the console no longer answers, the page also offers the console over plain http, for the case where the HTTPS front has not restarted: on port 80 or, if a reverse proxy or a publication holds 80, on 8000. The page cannot know which of the two and offers both.

The waiting page during a rebootThe waiting page during a reboot
The waiting page during a reboot

Shell and command line

Two tools do from the command line what the web console does:

  • System → Shell opens a terminal on the appliance in the browser, with the account you signed in with (described in System);
  • the argos command, available in every shell on the appliance (SSH, text console, the web console’s shell), offers every page of the console as a group of commands, with the same checks and the same protections (described in Argos from the shell).

They are useful when the web console cannot be reached from the network you are on, during the first-run setup (argos from SSH or the text console there: the web console’s Shell is one of its pages), or when the message “You would lose the console on the interface you are using” asks you to make a change by another route.

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