Block IP of a country


#1

Hello,
I’m under attack by a country “Vietnam”.
Since 3 days, it’s a connexion to my admin every 30 seconds. Actualités, they failed all Time…
But how I Can block any IP adress from a country ? Vietnam

Thanks you
Sorry for my english


#2

If you want to block access to your site from a specific country then firewall rules should be what you are looking for!

Edit:
You can’t block by country on free or lower plans, but can only challenge…


#3

Precisely what domjh said. Create a firewall rule to block and block “VN”. Voilà.

With access rules you (still) cant, firewall rules changed the game in that respect. You can block the hell out of a country :smile:


#4

I thought that, but then I searched the knowledgebase and it appeared to imply that you can’t! That should probably be made clearer!


#5

The IP firewall refers to access rules and there you still cant block countries on the lower plans. With firewall rules they changed that.


#6

I see that now… But still…


#7

Agreed, but then, Cloudflare is a work in progress :smile:


#8

You shouldn’t block the whole country since Vietnam is not large botnet network or proxy server, just few hundred working and the connection to international is slow as hell


#9

Thank you for your answer.
I can’t block a country with Cloudflare, only challenge it.
In 4 hours, it’s less 400 attemps from Vietnam, with more 200 differents IP.

My website is on wordpress, so I use a plugin “IP GEO BLOCK” for it. And a second security with Challenge mode from Cloudflare Firewall.
When I use firewall cloudflare, attacks are stopped. Certainly because it was a bot and didn’t like “challenge” page.

unfortunately I can not see Cloudflare’s stats about that.
Besides, if it is possible to see what a “challenge” page looks like?


#10

You can, you only need to use a firewall rule.


#11

I can’t, I have not an enterprise plan


#12

I mentioned that twice so far I believe, you can, you dont need an Enterprise plan.


#13

Sorry! It was probably my first post that confused things. Yes, as @sandro said, you can use Firewall rules to block by country, you just can’t use Access rules.


#14


I can’t… I need an enterprise plan
I can just challenge them


#15

Use Firewall rules, not access rules (not IP firewall)


#16

I seee the problem, thank you :slight_smile:


closed #17

This topic was automatically closed after 30 days. New replies are no longer allowed.