How To Verify If Cloudflare CIDR Is Being Blocked Make it Rain Paper

  • Cloudflare
  • 0

To ensure that Cloudflare's CIDR ranges are not being blocked by your server or firewall, follow these steps:

  1. Identify Cloudflare's IP Ranges:

    First, obtain the list of Cloudflare's IP ranges. You can find this information on the Cloudflare IPs page.

  2. Check Server Firewall Rules:

    Access your server's firewall configuration. Depending on your server setup, this may involve:

      • Using iptables for Linux servers:
    sudo iptables -L -n
    • Check your firewall settings in your hosting control panel (like Plesk or cPanel).

    Look for any rules that explicitly block IP ranges associated with Cloudflare.

  3. Examine Web Server Configuration:

    Review your web server configuration files (like nginx.conf or httpd.conf) for any deny rules that may block Cloudflare IPs.

  4. Check (dot)htaccess File (Apache 2.4):

    If you're using Apache 2.4, examine your (dot)htaccess file for any rules that may deny access to Cloudflare IPs:

  5. Test Connectivity:

    To test if Cloudflare IPs are being blocked, you can perform a simple ping or curl test from a machine outside of your network:

    curl -I https://example_domain.com

    If you receive a 403 Forbidden response, it may indicate that Cloudflare is being blocked.

  6. Review Logs:

    Check your server logs for any entries that indicate blocked requests from Cloudflare IPs. This can provide insights into whether access is being restricted.

By following these steps, you can verify if Cloudflare CIDR ranges are being blocked and adjust your settings accordingly to ensure proper access.


Did this answer help?

« Back