Block the IP of the selected country in Firewall
Firewall should be able to block the IP of the selected country. I have a lot of traffic from the IP 5.10. *. *
As an alternative option, you can configure GeoIP protection using nginx GeoIP module https://docs.plesk.com/en-US/obsidian/administrator-guide/website-management/websites-and-domains/extended-website-management/plesk-for-linux-setting-up-ip-geolocation-for-a-website.80011/
Please let us know what you think about it.
you can easily do this with modsecurity, in my case I use comodo rules
Urgently some GEOIP Blocker is necessary, to avoid any contact from other countries to blocking spammers and useless try outs to login.
Juergen Trapp commented
Use mod_geoip2 and you can block the country. Its simple!!!
I do this with the help of a small perl script
so for me this works perfectly ...
Just a note that we support country blacklisting and whitelisting via our Juggernaut Security and Firewall Plesk addon:
Allow to block complete country's with firewall. eg. with help over GEO-IP.
e.g. Role for disable access from china "iptables -I INPUT -m geoip --src-cc CN -j DROP"