how can show a custom text or page to special country IP’s that banned by CSF or another tools


I banned special countries on my server by CSF firewall,

exist ways that can show a text or redirect to a page?

for example ” you are can not visit this site by this location, if you are using VPN please turn off and try again “

I want do this by this CSF, if this action does not exist on CSF, please intro tools that I can do this goal,