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.
- 01reconNFS already installed? server active?
- 02reconexisting exports (same path?): do not overwrite them
- 03recondoes the folder exist? current permissions
- 04recon2049 already in use?
- 05recondistro (nfs-kernel-server or nfs-utils), firewall active
- 06actInstall NFSverify
- 07actCreate the exported folder (if missing)verify
- 08actAdd the exportdestructiveverify
- 09actEnable and publish the exportsverify
- 10actAllow the ${allowed} network (only if a firewall is active)verify
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 NFSVerified by
command -v exportfs - 02verifyCreate the exported folder (if missing)Verified by
test -d ${export_path} && echo ok - 03verifyAdd the exportVerified by
cat /etc/exports.d/servor.exports - 04verifyEnable and publish the exportsVerified by
exportfs -v | grep -c "${export_path}" - 05verifyAllow the ${allowed} network (only if a firewall is active)Verified by
ufw status 2>/dev/null | grep 2049 || firewall-cmd --list-rich-rules
SEC.03
Guardrails
Non-negotiable instructions the run must respect, whatever it finds on the server.
Always restrict the export to a specific network/host — refuse *, 0.0.0.0/0 or a public range. Never no_root_squash. Do not modify /etc/exports or an existing export. The firewall opens 2049 only to the allowed network.
SEC.04
Variables
What you choose before launching — the recipe fills in the rest.
| Name | Meaning |
|---|---|
| ${export_path} | Folder to export |
| ${allowed} | Allowed network/host |
| ${access} | Access |
SEC.05
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.06
Deploy on Servor button
Maintain NFS server or a project that needs it? Put this button in your README or on your site: one click and your users install it on their own server.
SEC.07
More storage & backup recipes
- 01Swap fileCreates a persistent swap file of the chosen size. Destructive: modifies /etc/fstab.
- 02restic backupsrestic + a scheduled, encrypted backup of a folder to a repository.
- 03MinIOS3-compatible MinIO object storage via Docker, local-only. Community project archived: frozen image.
- 04Garage (S3 storage)Garage (Deuxfleurs) S3-compatible object storage via Docker, single-node and local-only, with a first bucket and its key. Maintained alternative to MinIO.
- 05Samba shareSamba file server (SMB). Destructive: creates a share and a user.
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.