To prevent access from a specific external IP address you can use the access control from WAF.
Webserver Protection –> Web Application Firewall –> Site Path Routing
Edit the existing rule and activate the Access control. Now you can add the IP address which is to be blocked.