Understand DDoS protection behind a proxy
When a site is behind Cloudflare or another reverse proxy, network connections to the origin can come from the proxy instead of the visitor. cPFence v4+ IPDB connection counts and WAF request inspection therefore have different inputs.
Check CDN access
Section titled “Check CDN access”You can use cPFence alongside Cloudflare, Quic.Cloud, BunnyCDN, Gcore, CacheFly or Fastly. A CDN’s caching and edge protection can complement protection at your origin.
Check visitor addresses
Section titled “Check visitor addresses”- Confirm that the web server trusts visitor-IP headers only from your configured proxy network.
- Check that access logs record the expected real visitor address.
- Compare the network peer, logged visitor IP and WAF event for the same request.
- Inspect the current proxy/whitelist policy before blaming a missing block on an inactive firewall.
See WAF engine limits and IP status. Configure edge protection with your proxy provider for attacks that do not reach the origin as distinct visitor connections.

