# Manage Vercel Firewall in the CLI

By Steven Van · 2026-05-12

The new vercel firewall command covers custom rules, IP blocks, Attack Mode, and system mitigations, plus a skill for agents rolling out rules.

The [Vercel](<https://creatorstoolbox.com/tools/vercel>) CLI now has a [vercel firewall](<https://vercel.com/docs/cli/firewall>) command for managing a project's Firewall configuration from the terminal. It covers custom rules, IP blocks, system bypasses, Attack Mode, and system mitigations. Custom rule and IP block changes are staged as drafts until published; system bypass, attack challenge mode, and system mitigations apply immediately.

New rules can be created interactively, generated from a natural-language prompt with **--ai**, or defined with command-line flags or a JSON payload. A separate Vercel Firewall skill for coding agents documents best practices for rolling out new rules safely. Update the Vercel CLI and run **vercel firewall** to get started.

[![](<https://vercel.com/api/docs-og?title=vercel%20firewall&format=docs&sig=73c27758ca7ce28f465b41aaa747ff8447ae4eaa95a1c73a4fa744fd8a8a4824&category=Ship%20and%20scale&subcategory=CLI>)](<https://vercel.com/docs/cli/firewall>)

![Vercel](<https://www.google.com/s2/favicons?domain=vercel.com&sz=128>)

Vercel

The platform for frontend developers — deploy, preview, and scale web apps and AI agents with zero config.

[View Vercel →](<https://creatorstoolbox.com/tools/vercel>)

Sources

[Original source](<https://vercel.com/docs/cli/firewall>)

[Read Manage Vercel Firewall in the CLI on Creators Toolbox](<https://creatorstoolbox.com/blog/vercel-manage-vercel-firewall-in-the-cli>)

---
Canonical source: https://creatorstoolbox.com/blog/vercel-manage-vercel-firewall-in-the-cli
