Why is traffic from Singapore still reaching my site despite Cloudflare blocking it?

0
5
Asked By MellowPine42 On

I use Cloudflare and configured it to block visitors from Singapore, including interactive challenges and Bot Fight Mode, but I'm still seeing traffic from there. The traffic appears to be affecting my AdSense account, which was suspended for five days. My site is hosted with Hostinger, and I'm testing Hostinger's CDN as well to see whether it can block the traffic more effectively, although I know running two CDNs is generally not recommended. Could the traffic be bypassing Cloudflare, or could it be bots using changing IP addresses? What's the best way to stop it?

2 Answers

Answered By CopperVale9 On

Country-based IP blocking is not always reliable because bot traffic can come from constantly changing addresses, proxies, or compromised networks. It may help to review current abuse and threat-intelligence IP lists, then combine those blocks with firewall rules, rate limits, and bot challenges rather than relying only on a Singapore country rule.

Answered By OrbitLark7 On

First, make sure visitors cannot connect directly to your hosting server and bypass Cloudflare. Configure the origin firewall or web server to allow HTTP and HTTPS traffic only from Cloudflare’s published IP ranges. Also check that your DNS records do not expose the origin IP. If the origin is reachable directly, Cloudflare’s country blocks and bot protections can be bypassed completely.

MellowPine42 -

How would I configure the server so that only Cloudflare’s edge IP ranges can reach it?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.