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
- https://www.countryipblocks.net/country_selection.php
- 8 Ways to Block Visitors to Your Website by Country