Server Gigabit Guide

Whitelist Cloudflare IP addresses

You are here:
Estimated reading time: 1 min

Whitelist Cloudflare IP addresses

Changing your name servers to Cloudflare routes traffic through Cloudflare for any orange-clouded DNS records in the Cloudflare DNS app.
So that, your origin web server will receives traffic from Cloudflare IP addresses due to Cloudflare’s reverse proxy.Blocking or rate limiting Cloudflare connections prevents visitor traffic from reaching your website.To avoid blocking Cloudflare IPs unintentionally check that:

  • Your origin web server iptables are set to trust Cloudflare IPs.
  • Bad Beha vior or mod_security is up to date.
  • Your htaccess file whitelist Cloudflare IPs.
  • Any security plugins, such as WordPress security plugins, whitelist Cloudflare IPs.

Similarly , For Cloudflare to send visitor requests to your origin web server, whitelist Cloudflare IP addresses at your origin web server. In addition , Contact your hosting provider or website administrator if you have questions.

Related resources

  •  IP addresses with .htaccess
  •  iptables
  •  iThemes Security?
  •  Is Cloudflare compatible with Bad Behavior?
  •  What are Cloudflare’s IPs?
Was this article helpful?
Dislike 0
Views: 63