Introduction
ConfigServer Firewall (CSF) has built-in features that assist with DDoS mitigation.
Please note that there is no way to prevent a DDoS attack against any server connected to the Internet. Mitigating an attack at the server will have limited effectiveness since the attack has to reach the server to be mitigated. You should contact your network provider to mitigate a DDoS attack so that the attack doesn't reach your server.
Procedure
Please note that CSF is a third-party product that cPanel does not support. Please consult with your system administrator or security administrator for specific configuration values.
- Log into WHM as the 'root' user.
- Navigate to "Home / Plugins / ConfigServer Security & Firewall."
- In the "csf - ConfigServer Firewall" section, click the "Firewall Configuration" button.
- Scroll down to the "Connection Tracking" section.
- Enter the desired value in the "CT_LIMIT" textbox.
- Set "CT_EMAIL_ALERT" to "Off" to avoid overloading the email server.
- Enter the ports being attacked in the "CT_PORTS" textbox.
- Scroll down to the "Port Flood Settings" section.
- Set "SYNFLOOD" to "On."
- Enter the desired value in the "SYNFLOOD_RATE" textbox.
- Enter the desired value in the "SYNFLOOD_BURST" textbox.
- Scroll to the bottom of the page.
- Click the "Change" button.
- Click the "Restart csf+lfd" button.
Comments
0 comments
Article is closed for comments.