Hi @priya1lrl,
When using Wordfence with Cloudflare, the three main considerations are accurate detection of visitor IPs, ensuring your site’s own IP can connect back to itself, and allowing our IPs to connect to your site. It looks like a regular HTML page is being served rather than the response to our connection request.
For IP detection, our “Use the Cloudflare “CF-Connecting-IP” HTTP header to get a visitor IP. Only use if you’re using Cloudflare.” option is explained here: https://www.wordfence.com/help/dashboard/options/#general-wordfence-options
Our IPs and possible need to allow them in Cloudflare specifically are mentioned here: https://www.wordfence.com/help/advanced/#servers-and-ip-addresses
How to allow our IPs in Cloudflare itself is highlighted step-by-step here: https://www.wordfence.com/help/central/connect/#troubleshooting-connection-issues
If you need to allow your own site’s IP(s) to connect back to itself, you can use the same method shown in the link above (finding the site’s IP(s) in Wordfence > Tools > Diagnostics > IP(s) used by this server if you don’t already know it.)
Thanks again,
Peter.