How prevent bypass cloudflare

Recently, I noticed that when I set my site’s IP with a host domain name header, it easily passes through Cloudflare in Curl’s request, but I checked this for other sites, it does not pass and it encounters Cloudflare Is there a problem with my config server? Or DNS domain settings? What is the solution?
ex : curl -H"" http://ip`

You can configure your webserver to only allow Cloudflare’s ip ranges, which are located at, then others won’t be able to directly fetch from your webserver anymore.


This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.