You may make use of third party tools to create a IP/Country Database.
Inside the above URL, choose .htaccess deny, and the Country/Area
Then, copy and paste the IP address list into .htaccess
For details – how to block IP to your website, please refer to
Note: IP/Country mapping may regularly be updated. Users shall also update their .htaccess list correspondingly.