How to block client IP behind CloudFlare?

#1
Hello,

Having a shared hosting server with LiteSpeed and a number of sites protected with CloudFlare, how can we block offending IPs at LiteSpeed level server-wide?

- Use Client IP in Header is set to Trusted IP only
- IP detection of client IPs is working fine

In order to automate it I'd like to block IPs from a shell with a script w/out using Web-UI. It's not a question on how to write to script. It's a question which file to modify to achieve the desired.

Kindly advice.

Regards,
Alex.
 
Top