Installation¶
fr0ntier has two editions, ARM and x64, built from the same source. The installation is identical except for the operating system image: prepare the system following the section for your hardware, then run the same installer. It detects the architecture and downloads the matching release (see Requirements).
1. Prepare the system¶
ARM edition (Raspberry Pi and ARM boards)¶
- Flash Debian 13 arm64 to the microSD card or SSD:
- Raspberry Pi: tested images at https://raspi.debian.net (or Raspberry Pi OS Lite 64-bit based on trixie, flashed with Raspberry Pi Imager).
- Other boards: the vendor's Debian 13 arm64 image, or the official Debian installer if the board supports UEFI.
-
Boot, log in (console or SSH) and update:
Raspberry Pi
Prefer an SSD/NVMe on the Pi 4/5 if you plan to keep long metric history. The
installer applies Pi-specific tuning automatically (70-raspberry).
x64 edition (PCs, mini-PCs and virtual machines)¶
- Download the Debian 13 amd64 netinst image from https://www.debian.org/download and write it to a USB stick (or attach the ISO to the VM).
- Install a minimal system: in Software selection keep only SSH server and standard system utilities (no desktop environment). Use the whole disk; a single partition is fine.
- For a virtual machine, create it with two virtual NICs (WAN + LAN) on separate bridges, using virtio drivers (vmxnet3 on VMware).
-
Boot, log in and update:
Cloud images
The official Debian 13 genericcloud / nocloud qcow2 images also work for Proxmox or KVM templates; make sure the VM has a root password or SSH key before running the installer.
2. Get fr0ntier and run the installer¶
The installer is modular (scripts/install.d/NN-*.sh) and logs everything to
/var/log/fr0ntier-install.log:
| Module | What it does |
|---|---|
00-preflight |
Checks Debian release, architecture and edition (ARM / x64), RAM, disk, board model, virtualisation, existing installation |
10-packages |
Installs nftables, dnsmasq-base, WireGuard tools, OpenVPN, strongSwan, hostapd, wpa_supplicant, chrony, nginx, dehydrated, tcpdump, conntrack, smartmontools… and disables their stock services (fr0ntier runs them with its own units) |
20-users-dirs |
Creates the unprivileged fr0ntier-dns user and the directory layout |
30-binary |
Downloads the release of your edition (fr0ntier-vX.Y.Z-arm or -x64) and verifies its SHA-256 — or builds it from source with Go if no release exists |
40-system |
Kernel modules, sysctl, journald limits, hardware watchdog, local resolver |
50-network |
Detects NICs, names them port1…/wifi1…, asks for a preset, creates the first configuration, migrates networking to systemd-networkd |
60-services |
Installs and enables the systemd units |
70-raspberry |
Raspberry Pi only: noatime on SD cards, watchdog, CPU governor (skipped on x64) |
90-finalize |
Prints the URL and credentials, offers to reboot |
Presets¶
| Preset | Result |
|---|---|
mgmt (default) |
Keeps the current addressing of the management interface; nothing is forwarded yet. Safest choice: configure the rest in the web UI. |
router |
port1 = WAN (DHCP, gateway monitoring), port2 = LAN 192.168.10.1/24 with DHCP, DNS, NTP; policy LAN→WAN with NAT. |
wifi-lan |
Ethernet = WAN (DHCP), Wi-Fi = LAN access point (SSID fr0ntier, change the passphrase). |
wg-wan |
Single Ethernet = LAN, WireGuard tunnel wgwan prepared as WAN towards a VPS (fill in the peer and enable it). |
Non-interactive installation¶
sudo ./install.sh --yes --preset router --lan-addr 10.10.0.1/24 \
--hostname fw-home --timezone Europe/Madrid --no-reboot
All options: ./install.sh --help.
Offline installation or manual download¶
Each release on GitHub has one archive per edition plus checksums.txt:
| Edition | File |
|---|---|
| ARM | fr0ntier-vX.Y.Z-arm.tar.gz |
| x64 | fr0ntier-vX.Y.Z-x64.tar.gz |
Each archive contains the static fr0ntier binary, LICENSE, NOTICE, README.md
and CHANGELOG.md. The installer itself lives in the repository (or the Source
code archive of the release). To install a downloaded binary, for example on a
machine with restricted Internet access:
sha256sum -c checksums.txt --ignore-missing
tar -xzf fr0ntier-v1.0.1-x64.tar.gz # or fr0ntier-v1.0.1-arm.tar.gz
cd fr0ntier # repository / source archive
sudo ./install.sh --binary ../fr0ntier-v1.0.1-x64/fr0ntier
Add --skip-packages if the Debian packages are already installed.
--from-source builds the binary locally with Go instead of downloading it.
3. Reboot and log in¶
A reboot is required so the ports get their new names and networking moves to systemd-networkd. Then browse to:
The certificate is self-signed (generated on the device); accept it or upload your
own later. The administrator password is printed at the end of the installation and
saved in /root/fr0ntier-credentials.txt; you must change it at first login.
Lost the password?
On the console or via SSH run sudo fr0ntier passwd admin.