Portal Home > Knowledgebase > Articles Database > How to disbale all iptable and all csf firewall blocks ip list


How to disbale all iptable and all csf firewall blocks ip list




Posted by nabeelamjad, 09-03-2009, 04:47 AM
I just wanna know how to clear all those block ip which in iptable and csf firewall black list?

Posted by BloodRed, 09-03-2009, 04:54 AM
I think should be this command csf -f Or you may try locating deny file in csf installation.

Posted by donbiz, 09-03-2009, 04:59 AM
To remove all the IPs in your csf.deny file do the following command: csf -df To flush all blocked IPs in iptables do the following command: iptables -F

Posted by inspiron, 09-03-2009, 06:37 AM
Or if you are using the RHEL (Redhat), Fedora core or CentOS for stopping the iptables you should use, # service iptables save # service iptables stop # chkconfig iptables Off

Posted by nabeelamjad, 09-03-2009, 06:38 AM
i used this command iptables -F and after that server went offline and still does not come up do you know what was the reason of it?

Posted by odishahost, 09-03-2009, 12:40 PM
sounds like you are on a vps ?

Posted by rootatmike, 09-03-2009, 03:37 PM
removing iptables block list, use iptables -F for CSF, it would be better to go to the block list file directly and remove all IPs.

Posted by ddosguru, 09-03-2009, 03:50 PM
If you're running csf running iptables -F will take down your network. The correct command is csf -x to disable the daemon and csf -e to reenable. Simply run "csf" at the command line to see all other commands or use the Cpanel (or webmin) GUI.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read