[cPanel] Add permanent whitelist IP Address using CSF/LFD
Wednesday, May 26th, 2010You can whitelist IP Address quickly using ConfigServer Firewall/Login Failure Daemon (CSF/LFD) by using the Quick Allow or editing Firewall Allow IPs but the number of IP Addresses kept by CSF/LFD is limited (by default is 100 or other numbers you specified in Firewall Configuration) as a large number of IP addresses create a large number of iptables rules (4 times the number of IP’s) which can cause problems on some systems where either the the number of iptables entries has been limited (esp VPS’s) or where resources are limited. This can result in slow network performance, or, in the case of iptables entry limits, can prevent your server from booting as not all the required iptables chain settings will be correctly configured.
CSF/LFD will removes oldest entries and replaced with new one. So how to make CSF/LFD make permanent whitelist IP Address? Here’s how:
(more…)