Installation

Argos is installed with the EDON ISO, which prepares a complete appliance from scratch on an empty disk: system, partitions, Argos with all its components, SSH access and banner. This chapter…

Argos is installed with the EDON ISO, which prepares a complete appliance from scratch on an empty disk: system, partitions, Argos with all its components, SSH access and banner. This chapter describes the requirements, the installation and what you find on the freshly installed appliance. After the installation the appliance updates from the online Debian and EDON repositories.

Requirements

The system

  • An amd64 (x86-64) computer, physical or virtual.
  • At least two network cards: one for the internet line and one for the internal network. With VLANs you can carry several internal networks on the same card; a second line or a separate network needs one more card.
  • Internet access during the installation and afterwards: the ISO’s installer checks it and stops without it, and the appliance downloads updates, DNS lists, inspection signatures and the application catalogue every day.

Processor, memory and disk

The feature that needs the most resources is traffic inspection (Protection → Inspector). Each level has a threshold, and the console refuses to switch it on on an appliance that does not reach it:

“Inspection level” Cores Memory Space for the inspection logs
“Standard” (Suricata) at least 2 at least 2 GiB at least 8 GB
“Advanced” (Suricata and Zeek) at least 4 at least 4 GiB at least 16 GB

Memory is counted as installed: a machine with 4 GB reaches the 4 GiB threshold, even if the system sees a little less. The space for the logs is that of the file system the inspection writes to (/var/lib/argos-dpi), not the whole disk; with the ISO it is a volume of its own, which is enough (see below).

Recommended configurations:

Use Cores Memory Disk (with the ISO)
Firewall, VPN, DNS and DHCP, “Standard” inspection 4 8 GB 64 GiB
All of it, with “Advanced” inspection 4 or more 8 GB or more 64 GiB or more

The disk with the ISO

The ISO’s installer partitions the disk by itself, with LVM: half of the disk goes to the Argos volumes, the other half stays free in the volume group for future growth. Of the half used, a quarter goes to the system (/, at least 16 GiB) and three quarters to the inspection logs (/var/lib/argos-dpi, at least 8 GiB); the swap is calculated from the memory.

Disk / /var/lib/argos-dpi
46 GiB (minimum, with 8 GB of memory) 16 GiB 17 GiB
64 GiB (recommended) 16 GiB 24 GiB
128 GiB 16 GiB 48 GiB

Already on the minimum disk the log volume exceeds the thresholds of both inspection levels: which level you can switch on is decided by cores and memory. Only on a smaller disk, which the installer accepts with 4 GB of memory or less, can the volume stay below the 16 GB of “Advanced”.

Below the minimum (about 46 GiB with 8 GB of memory, about 38 GiB with 4 GB or less) the installer stops rather than create a layout that does not fit.

For the technician The inspection logs have a volume of their own because they are the only thing Argos writes in an amount tied to the traffic: Suricata and Zeek rotate by number of days (seven), not by size. The system journal is raised to 4 GiB (/etc/systemd/journald.conf.d/argos.conf), because the firewall, DNS and system logs are read from there. The disk chosen is the largest non-removable one; to choose another, add edon/disk=/dev/nvme0n1 (or the disk you want) to the boot menu entry.

Installing from the ISO

Preparing the medium

Download the ISO from https://download.edon.systems/argos-amd64.iso. The name stays the same at every version: the file is always the latest one published.

For a physical machine write the ISO to a USB stick. From Linux, where /dev/sdX is the stick (everything on it is erased):

dd if=argos-amd64.iso of=/dev/sdX bs=4M status=progress oflag=sync

On a server with a remote console (IPMI, iDRAC, iLO) you can mount the ISO as virtual media; for a virtual machine attach it as a CD. The ISO boots both in BIOS and in UEFI, with Secure Boot too.

Where to connect the appliance

The installer configures a single network card, the one it reaches the internet through, and writes its address as static. Everything else (the other cards, the zones, the final line) is set up afterwards, from the console.

The simplest way, when Argos takes the place of an existing router, is to install it with the card you will use for the LAN connected to the office network and give it straight away the address it will have on the LAN: for John Smith Ltd eth1 with 192.168.10.1/24, using as gateway the router that takes the network to the internet during the installation (for example the old router, moved to 192.168.10.254 for the time being). After the installation you open the console from an office PC and configure the line, as First office describes.

Warning The gateway you enter in the installer becomes Argos’s first gateway, on the installation’s card, with priority 0. If it was a temporary way out on the card that will become the lan, delete it in Network and uplinks → Gateways before putting that card in the lan (see “What to do next”): the deletion takes effect from the apply, so the appliance keeps going out through it until you apply.

The installer’s steps

  1. Boot from the stick or the CD and choose the English entry of the menu: “Fast Install EDON Argos (English)” on a machine that boots in BIOS, “Install EDON Argos (English)” on one that boots in UEFI. The other entries are the Italian installation (the default choice: “Installazione rapida EDON Argos (Italiano)” in BIOS, “Installa EDON Argos (Italiano)” in UEFI) and the recovery mode (“Rescue mode”). The entry you choose sets the installer’s language and the keyboard.

  2. Country. Choose the country: it decides the time zone. If the country has more than one, the installer asks which.

  3. Network. The installer asks for an address via DHCP on the connected card. If the appliance has several cards connected, it may ask you which one to use: choose the one that reaches the internet. If the network has no DHCP server, the installer says so and asks you to configure it by hand (address, netmask, gateway, DNS); in that case the form of step 7 does not appear.

  4. Hostname and domain. The name is already filled in with argos; for the example the domain is johnsmith.test. Together they form the appliance’s full name, argos.johnsmith.test, which you can change later in System → Host identity.

  5. Root password, twice. It must have at least 8 characters, with an uppercase letter, a lowercase letter, a digit and a symbol. It is the password you sign in to the console and to SSH with: keep it safe. If it does not meet the requirements, the installer asks for it again shortly afterwards with the message “Root password does not meet the requirements”.

  6. Internet check. Before touching the disk, the installer checks that the network reaches the internet. If it cannot, it shows “No internet connection” and restarts the machine without having written anything: fix the network (cable, gateway, DNS) and start again.

  7. IPv4 address. A form appears, already filled in with what DHCP assigned: address, netmask, gateway and DNS servers. You can change every field; the address can also be written in CIDR form, 192.168.10.1/24, and then the prefix wins over the netmask. What you confirm is written as a static configuration and applies from the first boot; the installation in progress goes on with the DHCP address.

  8. Erasing the disk. If the chosen disk holds partitions, file systems or volumes, the installer asks “Erase the disk …?” and lists what it holds. The default answer is No: in that case it shows “Installation stopped”, writes nothing and restarts. Answer Yes only if the contents can be lost. On an empty disk the question does not appear.

  9. Partitioning and installation. From here the installer goes on by itself: it creates the volumes described above, installs Debian, Argos with all its components and the SSH server from the disc itself, then sets up the online repositories for the updates. On a test virtual machine it took about eight minutes.

  10. Reboot. At the end of the installation the machine restarts. Remove the stick (or detach the virtual CD), otherwise the installer would start again.

The first boot

At the first boot a dedicated service, argos-firstboot, completes the installation: it puts the console back behind nginx over HTTPS, starts the services that could not start inside the installer and, in the background, brings the Suricata inspection engine to the version in Debian’s backports. Then it writes the web console’s address on the text console.

If the HTTPS front does not start, the console meanwhile answers over plain HTTP (on port 80, or on 8000 if 80 is taken) and the service tries again at every boot. The log of this step is /var/log/argos-firstboot.log.

At the first sign-in to the console, before any other page, the first-run setup asks you to accept the license and register the product (First sign-in and using the console).

For the technician Inside the installer the argos package is configured in a chroot where systemd does not run: everything that needs a running system fails softly, and the console stays in direct mode. The first boot runs the package’s configuration script again, the same as at every update, on the real system. The file /var/lib/argos/.firstboot-done marks the first boot as completed, and is written only once the console is behind nginx. The ISO also enables root SSH access with a password (/etc/ssh/sshd_config.d/10-edon.conf); on which zones SSH answers is decided by Argos in any case.

An Argos EDON Krios created

EDON Krios can create Argos as a service: a Debian 13 virtual machine with two NICs, the LAN (where Argos is managed from and reports to Krios from) and the WAN. At first the console answers only its claim page: you type the code Krios showed and choose root’s password. Then the first-run setup asks for the license and the product registration, as on every Argos, and offers the Network step, which hands Argos the NICs cloud-init still manages. The step can wait («Later»): Status reminds you of it until it is done or put back.

The step first writes Argos’s settings (the zones, the WAN’s gateway, the networks kept on the LAN), then the firewall is applied and confirmed, then one reboot hands the NICs over. If after the reboot the LAN does not reach Krios or the networks you listed, Argos puts everything back as it was and reboots once; «Try again» opens the step again.

Good to know

  • If the LAN takes its address by DHCP, after the reboot Argos’s DHCP client asks for it with another identity and the address may change: Krios’s reports carry the new one.
  • Argos warns when the NIC towards Krios holds a public address, but a private address behind a provider’s 1:1 NAT cannot be seen: make sure that NIC really is your LAN.
  • After the step Argos resolves names with its own resolver: internal names only the site’s DNS knows go in Forwarded domains.

The text console’s banner

On the appliance’s text console (the screen connected to it, or the virtual machine’s console), above the login prompt, the ISO shows the address to open the web console at:

EDON Argos Firewall
WebUI: https://192.168.10.1/
Node: argos   TTY: tty1

The address is recalculated at every boot, so it follows the appliance if you change the card’s address. If the console is answering over plain HTTP or on another port at that moment, the banner shows it as it is.

From the text console you can also sign in as root: you get a Debian shell with the argos command, which does from the command line everything the web console does (see Argos from the shell).

What you find after the installation

A freshly installed appliance is in this state:

System status → Status on a freshly installed applianceSystem status → Status on a freshly installed appliance
System status → Status on a freshly installed appliance
  • The console answers on https://<address>/ with a certificate signed by the appliance’s CA: the browser warns until you trust that CA (see First sign-in and using the console).
  • The wan and lan zones exist but have no interfaces. As long as the lan has none, SSH and the console answer on every card, and the console does not ask for the second factor.
  • No firewall rule is loaded and the appliance does not route between the networks. The System status → Status page says “The firewall is not filtering: no ruleset is loaded”.
  • The installation’s card has the static address chosen; its gateway is the first gateway in Network and uplinks → Gateways.
  • The DNS resolver, DHCP and inspection are off: you switch them on when you need them.
  • Behavioural analysis (CrowdSec) is on.
  • Automatic updates are on, once a day, without automatic reboot (System → Updates).

What to do next

The recommended order to put the appliance into service:

  1. sign in to the console as root, accept the license and register the product (the first-run setup), then trust its CA (First sign-in and using the console);
  2. if the installation’s gateway goes through the card that will become the lan (the old temporary router), delete it first in Network and uplinks → Gateways: as long as it is there, that card is the wan side, and an interface with a gateway does not go into the lan (“This interface has a gateway: it is the WAN side and cannot be in the LAN…”);
  3. assign the cards to the zones, starting with the one you are working from, which goes in the lan (Network and uplinks → Interfaces);
  4. configure the line and its gateway (Network and uplinks → Gateways);
  5. press “Apply” and confirm within 60 seconds: from here on the appliance filters and routes;
  6. switch on protected DNS and DHCP for the lan (DNS and DHCP);
  7. set the appliance’s name and the e-mail notifications (System);
  8. create a personal administrator account for each technician and switch on the second factor (System → Users).

The First office scenario follows these steps one by one with John Smith Ltd’s values.

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