How do I block IP addresses from accessing any websites on Server?

How do I block IP addresses from accessing any websites on Server?

My server was recently hit with a bunch of attacks that took down my server for a few hours, and I made a list of offending IP addresses. How do I block those IP addresses in Cyberpanel from accessing my server?

Thanks!

You can install CSF in the CyperPanel interface and add a list of IPs to the blocklist which will prevent them from attacking your server. You can also set CSF to protect your server against attacks in the future using the installed graphical settings panel.

Thanks for the responses!
The attacks were on wp-login.php and xmlrpc.php
There were a lot of PUT requests in the log, as well as get and post.
I am using Cloudflare so I’m assuming that should stop DDOS, right?

I will check out CSF.

I noticed it says by CSF that LFD is coming soon. What is LFD, and when is it coming?

Thanks!

Thanks, but what is LFD?

Login Failure Daemon (LFD)