recipe_firewall.ts view source
readonly FirewallAllowRule[] type readonly FirewallAllowRule[]
import {WEB_FIREWALL_ALLOW} from '@fuzdev/zap/recipe_firewall.js'; The standard web-host inbound allow set: SSH (22), HTTP (80), HTTPS (443), all tcp.
Expressed as port/proto rules rather than ufw named profiles ('OpenSSH',
'Nginx Full') so the identical set works on both backends — nftables has no
application-profile concept (a named rule under it is a config error zap rejects at
plan). One source for "what a web host accepts," shared by both wrappers.