The module preselect country on the cart page and checkout, based on the user IP using Magefan's GeoIP wrapper
composer require vendic/magento2-geoip-country-preselect
Vendic - Magento 2 develops technically challenging e-commerce websites using Magento 2. Feel free to check out our projects on our website.