Block IP ranges on CSF?

OK, so you wish to block a IP range from your server using cPanel/WHM.

We’ve always recommended CSF for the firewall on your VPS running cPanel and to do this on CSF go to the ConfigServer Security&Firewall then do the following:

If the IP was: 12.345.678.90

Quick Deny Red block type in:

To deny IP Range: use: 12.345.678.0/16

To deny IP Range: use: 12.345.0.0/16

To deny IP Range: use:

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *