TAPPaaS TAPPaaS/TAPPaaS

satellite

Primary audience: TAPPaaS admin.

A machine with a stable public IP — typically a small VPS — that gives a Site behind CGNAT / dynamic IP / no inbound the public ingress, remote admin access and off-site backup the rest of TAPPaaS assumes. It is a kind: machine module like any other: module-manager module add satellite creates it, the nightly sweep patches it.

Status: implemented (Debian). reverse-proxy and admin-vpn are live-validated; the module form is unit-tested and awaits its live test. Design: ADR-010 · Tracker: ADR-010-implementation.md

What you get

Capability Access from How
Public HTTPS ingress (reverse-proxy role): L4 TCP passthrough of :443/:80 to Caddy-on-OPNsense over the WireGuard tunnel internet published DNS names point at the satellite's public IP; TLS terminates at home
Remote admin access (admin-vpn role): blind UDP relay of an admin WireGuard session terminating on OPNsense admin device, anywhere network-manager wgvpn add-peer prints a config whose Endpoint is the satellite
Off-site backup vault (backup role, after --lockdown): a PBS the home PBS is pulled into tappaas-cicd pull-based sync, client-side encrypted at home; nothing at home can log in to it
SSH to the mothership (sshPort, optional): one TCP port passed through to tappaas-cicd:22, for a shell without a WireGuard client the addresses in sshAllow only module modify <instance> --set sshPort=2222 --set 'sshAllow=["198.51.100.7"]', then ssh -p 2222 tappaas@<satellite> — the mothership's sshd, key-only, reachable from those sources (INSTALL.md)
Mail through the satellite (mail-relay role, managed only): the mail ports of the modules in mailRelay.modules forwarded home without source NAT (TCP MSS clamped to the tunnel), and their outbound SMTP sent under the satellite's address — for a Site whose ISP blocks port 25 or gives no reverse DNS. A relayed module (natVia=satellite) never gets its ports on the WAN: with no tunnel ready they are held internet (the modules' declared ports only) module modify <instance> --set 'roles=[...,"mail-relay"]' --set 'mailRelay={"modules":["mailserver"]}'; reverse DNS set at the provider (INSTALL.md)
The Site's PBS (a managed satellite, for a Site with none of its own) the Site's nodes, through the tunnel module-manager module modify backup --set node=<instance> — PBS on a ZFS pool on an attached volume
Watching the home site from outside: when the home firewall's handshake on the tunnel goes stale for 15 minutes, a mail to the Site's operator — daily while it lasts, and when it is back — the pulse (tappaas-pulse timer), installed with a managed satellite and kept by its updates; mail delivered directly (needs outbound port 25, see INSTALL.md)
Lifecycle tappaas-cicd module-manager module add&#124;update&#124;test&#124;delete satellite — updates by the nightly sweep
Key-only SSH — password logins over SSH refused for every user, root by key only, as on the cluster nodes: applied when it is provisioned and re-applied by every update of a managed satellite. --sshKeyOnly false at module add, or module modify <instance> --set sshKeyOnly=false, leaves sshd as the image has it

A satellite starts managed: the mothership's key is authorized and the sweep patches it (apt full-upgrade, reboots only as rebootOk allows), like a debianhost machine. Locked down (module-manager module modify <instance> --lockdown) it becomes the unmanaged pull vault: it patches itself and admits no login from home.

Roles are chosen at add (--roles); one machine may carry any combination of reverse-proxy, admin-vpn and mail-relay (and be the Site's PBS), and a Site may run several satellites (--instance) — a satellite with only mail-relay is a dedicated mail satellite, worth it when the Site sends real volume: a blocklisted or reported address then does not take the websites with it.

Where it runs is a location of the site, named by the satellite's location: --location <name> at add, or --country/--city, which use the site's location at that place or add one of kind remote. A backup copy on it counts as off-site only when that location is somewhere else than the primary one (backup-manager validate); the console shows the satellite there. Move it with module-manager module modify <instance> --set location=<name>.

What is not included

Requirements

Dependencies

dependsOn is empty: nothing the satellite needs is a service another module provides through the dependency graph. It needs OPNsense (network), which terminates its tunnel, and tappaas-cicd, which runs its lifecycle — both present on every Site.

For installation steps see INSTALL.md.