Hi,
If you want to block access completely to an IP, then this would be performed at the firewall level, such as with iptables, or CSF if you want to use the interface.
If you want to block a single IP, this can be easily done in CSF.
However, I would not recommend blocking access to all IP's except a single one for all services as this can either cause certain services to not function properly if external connections can't reach your server or may lead to the risk of potentially being locked out of the server unless you have console access.
With that said, you may want to ask in the
CSF forums for recommendations if you are looking to do this.