This is not exactly the best strategy given that malicious actors probably have access to IP addresses from other countries. I was asked to research this and this is what I found.
- Major IP Addresses Blocks By Country
- Block Visitors by Country Using Firewall
- 8 Ways to Block Visitors to Your Website by Country