CPANEL_WARN: Way to the Web Ltd. (the company behind ConfigServer) closed permanently on August 31, 2025; however, their free scripts remain available under the GPLv3 license.
You are able to install CSF on a cPanel server, but cPanel Support does not provide direct assistance for configuring your firewall settings.
Question
How do I whitelist an IP in CSF?
Answer
You can whitelist IPs in CSF from WHM and the command line.
WHM
- Log into WHM as
root - Navigate to Home / Plugins / ConfigServer Security & Firewall / Firewall Configuration
- Click the csf tab
- In the text box following Allow IP address, enter the IP address to be whitelisted
- Click the Quick Allow button
Command line
- Log in to the server via SSH or WHM's Terminal as the
rootuser Use the
csfcommand with the-aswitch and the IP address to whitelist:# csf -a ipaddress
Note: ipaddress should be replaced with the IP address to whitelist.
Comments
0 comments
Article is closed for comments.