Settings
Configure global WAF and system behaviour
WAF Configuration
Global WAF Mode
Controls how the WAF handles detected threats
Anomaly Score Threshold
Minimum score required to trigger a blocking action
Request Body Limit (MB)
Maximum allowed request body size in megabytes
Security & Monitoring
Audit Logging
Enable detailed audit logs for all WAF decisions
Real-time Alerts
Send notifications for critical security events
GeoIP Blocking
Block requests from high-risk geographic regions
Real Client IP NAT / PROXY
Extract the true client IP when WafX sits behind a proxy, CDN, or load balancer
How it works: When traffic passes through an upstream proxy (Cloudflare, AWS ALB, nginx load balancer, corporate gateway…), the TCP connection IP seen by nginx is the proxy's IP — not the real visitor. The proxy sets the true IP in a request header (X-Forwarded-For, CF-Connecting-IP, etc.). Enabling this uses nginx's ngx_http_realip_module to replace $remote_addr with the value from that header — so rate limiting, IP reputation, and logs all see the real visitor IP.
Enable Real IP Extraction
Write set_real_ip_from / real_ip_header directives to nginx conf.d
WAF Component Versions
nginx
Coraza WAF Engine (libcoraza)
Coraza nginx Module
OWASP CoreRuleSet (CRS)
Coraza Go Engine
User Management
Username Role Actions