DeploxaDeploxa/Docs
Back to site
  • Edge Storage
  • Cron Jobs
  • Firewall & WAF
  • Observability
  • Analytics & Speed
  • Redirects & Headers
  • Rate Limiting & Protection

Firewall & WAF

Firewall & WAF

Block, challenge, or log traffic at the edge before it reaches your site. Rules are enforced by the Deploxa proxy on every request, so no code changes are needed in your app.

In the dashboardProject → Firewall

Each rule has a type (what to match), a value, and an action (what to do on a match). Rules can be toggled on and off individually and each tracks a hit count.

Rule types

TypeMatchesExample value
IPA single client IP203.0.113.5
CIDRAn IP range203.0.113.0/24
COUNTRYRequests from a country (ISO code)RU
PATHA request path/wp-admin
USER_AGENTA User-Agent substringcurl

Actions

ActionEffect
BLOCKReject the request with a 403 error page
CHALLENGEServe an interstitial challenge before allowing through
LOGAllow the request but record it in the firewall log

Use LOG first to see what a rule would catch, then switch it to BLOCK once you're confident it isn't catching legitimate traffic.

Built-in protections

Beyond manual rules, the firewall page has several managed protections you can toggle:

ProtectionWhat it does
Bot protectionDetects and blocks (or challenges) automated/bot traffic
DDoS protectionThrottles abusive request floods from single sources
Challenge modeRequires a JS/interstitial challenge for suspicious visitors
IP intelligenceScores requests using known-bad IP reputation data

How rules evaluate

On every CRUD change, rules are pushed to a fast edge cache that the proxy reads on each request. A request is checked against your enabled rules; the first matching rule's action applies.

Fail-open by design

If the rule cache is briefly unreachable, the proxy fails open — it serves your site rather than blocking everyone. The firewall protects availability; it never takes your site down on its own error.
Cron JobsObservability