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.
- 01reconUFW installed? already active?
- 02reconwhich ports are listening (so as not to cut them off)?
- 03actInstall UFWverify
- 04actAllow SSH BEFORE anythingverify
- 05actDeny incoming by defaultdestructiveverify
- 06actEnable the firewalldestructiveverify
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 UFWVerified by
command -v ufw - 02verifyAllow SSH BEFORE anythingVerified by
ufw status | grep -ci ssh - 03verifyDeny incoming by defaultVerified by
true - 04verifyEnable the firewallVerified by
ufw status | head -1
SEC.03
Variables
What you choose before launching — the recipe fills in the rest.
| Name | Meaning |
|---|---|
| ${ports} | Ports to open (besides SSH) |
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.
- 03Automatic security updatesEnables automatic security updates (unattended-upgrades).
- 04CrowdSecCrowdSec collaborative IPS + firewall bouncer.
- 05ClamAVClamAV antivirus with an up-to-date signature database.
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.