First find if some exit nodes are available for the country you want to “fake”
Here an example for India
https://metrics.torproject.org/rs.html#search/flag:exit%20country:in%20
check that this IP’s are correctly detected in te desired country
https://www.maxmind.com/en/geoip-demo
vi ~/.local/share/torbrowser/tbb/x86_64/tor-browser/Browser/TorBrowser/Data/Tor/torrc
ExitNodes {in} StrictNodes 1
#ExitNodes 185.124.240.109
#ExitNodes 185.124.240.98
#ExitNodes 35.154.241.132
#ExitNodes 117.248.92.26
#ExitNodes 13.201.230.43
#ExitNodes 27.5.54.103
Restart tor service
sudo systemctl restart tor
regenerate an identity in the tor browser and check that you have a correct ip
https://accessnowhelpline.gitlab.io/community-documentation/147-Tor_force_exit_nodes.html