How to Block Entire Countries from Accessing Your Website

You probably can certainly find a plugin for geotargeting, but the point is that this method is very high level. By the time a plugin blocks a visitor, they have already used server resources and wasted bandwidth.
This application-level filtering is best used only for websites where you must change your content based on visitor origin, like switching currencies, or applying location-based content or filtering or language changes.