Cpanel stats not updating
A real hacker would not use their own personal IP and there is no guarantee that the IP will always remain with an unscrupulous user. Be aware if you block a not-so-bad country just because you think they are irrelevant to your traffic, you may have users using proxies or VPNs in that country.It is also a losing game because there are over four billion IPv4 IPs out there and no easy way to segregate them by country.But when I know that 99% of it is bogus, bots, brute force hacks, vulnerability scanners, and web crawlers, then why wouldn’t I just block China from accessing my site?
Country blocking does seem like something you’d think a web host could allow, which is why I included this category, but surprisingly I can’t find any that do.
TIP: If you are interested in going the .htaccess route anyway, and want to get an accurate, ‘right from the source’, daily updated list of IPs by country, you might start by reading what this guy has done to automate things. You can get much more advanced, such as limiting based on what protocol is used, but this is the basic idea. The two main types are: A bare metal or VPS is a machine that you have complete control over.
From software firewalls to hosting software and control panels, it’s all in your hands.
The same argument can be used for fancy restaurants, resorts, car rentals, commuter services and so on. ) whether blocking particular countries will benefit you or not.
Below are many of the common ways to block countries, with some pros and cons and code samples.