Skip to content

Manage Vercel Firewall in the CLI

1 min read

You can now manage your project's Vercel Firewall configuration through the Vercel CLI.

Use the new vercel firewall command to manage custom rules, IP blocks, system bypasses, Attack Mode, and system mitigations from the terminal.

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

The Vercel Firewall skill also helps agents by detailing best practices for rolling out new rules safely.

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

Install the Vercel Firewall skill.

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