recipe_debian_firewall.ts view source
(options?: WebFirewallOptions | undefined): Pick<FirewallResource, "allow" | "backend"> import {debian_web_firewall} from '@fuzdev/zap/recipe_debian_firewall.js'; Build the ufw firewall payload for a web host (SSH + HTTP + HTTPS).
Spread into a zap.firewall({id, ...debian_web_firewall()}). Leaves
default_incoming / default_outgoing at the schema defaults (deny in, allow out).
options?
type WebFirewallOptions
optional
returns
Pick<FirewallResource, "backend" | "allow">
the backend + allow for a ufw firewall resource.