Manage Vercel Firewall in the CLI

TL;DR · AI Summary
You can now manage the Vercel Firewall directly from the CLI, including configuring custom rules, IP blocking, system bypass rules, attack mode, and system mitigations.
Key Takeaways
- Use the `vercel firewall` command to configure custom rules.
- Configure IP blocking and system bypass rules through the CLI.
- Manage attack mode and system mitigations via the CLI.
Outline
Jump quickly between sections.
Introduction to managing the Vercel Firewall using the Vercel CLI.
Use the `vercel firewall` command to configure custom rules.
Configure IP blocking settings through the CLI.
Set system bypass rules through the CLI.
Manage attack mode via the CLI.
Manage system mitigations via the CLI.
Mindmap
See how the topics connect at a glance.
查看大纲文本(无障碍 / 无 JS 友好)
- Vercel CLI 防火墙管理
- 自定义规则
- IP 封锁
- 系统绕过规则
- 攻击模式
- 系统缓解措施
Highlights
Key sentences worth saving and sharing.
You can now manage the Vercel Firewall directly from the CLI.
Use the `vercel firewall` command to configure custom rules.
Configure IP blocking and system bypass rules through the CLI.
Manage Vercel Firewall in the CLI - Vercel
[](https://vercel.com/home)
- Products
- ##### AI Cloud
- AI Gateway One endpoint, all your models
- Sandbox Isolated, safe code execution
- Vercel Agent An agent that knows your stack
- AI SDK The AI Toolkit for TypeScript
- v0 Build applications with AI
- ##### Core Platform
- CI/CD Helping teams ship 6× faster
- Content Delivery Fast, scalable, and reliable
- Fluid Compute Servers, in serverless form
- Workflow Long-running workflows at scale
- Observability Trace every step
- ##### Security
- Bot Management Scalable bot protection
- BotID Invisible CAPTCHA
- Platform Security DDoS Protection, Firewall
- Web Application Firewall Granular, custom protection
- Resources
- ##### Company
- Customers Trusted by the best teams
- Blog The latest posts and changes
- Changelog See what shipped
- Press Read the latest news
- Events Join us at an event
- ##### Learn
- Docs Vercel documentation
- Academy Linear courses to level up
- Knowledge Base Find help quickly
- Community Join the conversation
- ##### Open Source
- Next.js The native Next.js platform
- Nuxt The progressive web framework
- Svelte The web’s efficient UI framework
- Turborepo Speed with Enterprise scale
- Solutions
- ##### Use Cases
- AI Apps Deploy at the speed of AI
- Composable Commerce Power storefronts that convert
- Marketing Sites Launch campaigns fast
- Multi-tenant Platforms Scale apps with one codebase
- Web Apps Ship features, not infrastructure
- ##### Tools
- Marketplace Extend and automate workflows
- Templates Jumpstart app development
- Partner Finder Get help from solution partners
- ##### Users
Ask AI
Ask AILog In
Manage Vercel Firewall in the CLI

1 min read
Copy URL
Copied to clipboard!
May 12, 2026
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.4vercel firewall system-bypass add 10.0.0.1vercel firewall attack-mode enable --duration 1hvercel 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.
Ready to deploy?Start building with a free account. Speak to an expert for your _Pro_ or Enterprise needs.
Start DeployingTalk to an Expert
Explore Vercel Enterprise with an interactive product tour, trial, or a personalized demo.
Get Started
Build
Scale
Secure
Resources
Learn
Frameworks
SDKs
Use Cases
Company
Community
[](https://vercel.com/home)
Loading status…Select a display theme:system light dark