Skip to content

Manage Vercel Firewall in the CLI

1 min read

You can now manage the Vercel Firewall directly from the CLI.

Using the vercel firewall command, you can configure custom rules, IP blocks, system bypasses, attack mode, and system mitigations.

vercel firewall rules add --ai "Rate limit /api to 100 requests per minute by IP"
vercel firewall ip-blocks block 1.2.3.4
vercel firewall system-bypass add 10.0.0.1
vercel firewall attack-mode enable --duration 1h
vercel firewall system-mitigations pause

Manage Vercel Firewall functionality from the CLI

Building on the new CLI commands, the Vercel Firewall skill lets agents interact with the Firewall and includes best practices for rolling out new Firewall rules safely.

npx skills add vercel/vercel-plugin --skill vercel-firewall

Update to the latest CLI version and run vercel firewall to get started. Learn more about the Vercel Firewall CLI commands.