SEC.01
The playbook
The run starts read-only: the recon probes decide what happens next. The steps that follow are adapted to the distribution and state found — a real machine is rarely clean.
- 01reconnftables present?
- 02recondo any rules already exist? do not break SSH access
- 03reconcurrent SSH session to preserve
- 04actInstall nftablesverify
- 05actApply the baselinedestructiveverify
- 06actEnableverify
SEC.02
What it verifies
Each step ships its own check. The run only moves on when the check passes, so what the recipe reports as done is what is actually on the server.
- 01verifyInstall nftablesVerified by
nft --version - 02verifyApply the baselineVerified by
nft list ruleset | grep -c "dport" - 03verifyEnableVerified by
systemctl is-active nftables
SEC.03
Variables
What you choose before launching — the recipe fills in the rest.
| Name | Meaning |
|---|---|
| ${ports} | TCP ports to open |
SEC.04
How a recipe runs in Servor
Servor is zero-knowledge: the platform cannot execute anything on its own. When you launch this recipe, a run reads the reconnaissance, plans the steps and asks for your approval. Each approved command is signed by your browser — with a key the server never sees — then relayed verbatim to the agent, which verifies the signature locally before executing.
search by intent — type “firewall”, get ufw
- 01Read-only reconnaissance before any change
- 02Every command signed by your browser, approved by you
- 03Each step verified before the run moves on, every run kept in the history
SEC.05
More security recipes
- 01Harden SSHDisables root and password login, keeps keys. Destructive: verify your key access first.
- 02fail2banfail2ban with the SSH jail, active and verified.
- 03UFW firewallUFW: deny incoming by default, allow SSH + chosen ports. Destructive: keeps SSH open.
- 04Automatic security updatesEnables automatic security updates (unattended-upgrades).
- 05CrowdSecCrowdSec collaborative IPS + firewall bouncer.
Verified recipe
Run this recipe on your server
Connect a server, launch the recipe, and approve each step as Servor executes and verifies it. Free plan, no card required.