Thursday, May 2, 2013

remove IP block

If your cPanel server csf will not remove temporary / permanent block while using

csf -tr and csf -dr commands. In this situation we can remove the block using following method.

[~]# csf -g IP_ADDRESS

Chain            num   pkts bytes target     prot opt in     out     source               destination        

DENYIN           3     1178 72006 DROP       all  --  !lo    *       ip         0.0.0.0/0



Solution
 [~]#  iptables -D DENYIN 3


root@ajeesh [~]# csf -g 174.129.254.101
Chain num pkts bytes target prot opt in out source destination

LOCALOUTPUT 9 183 11076 DROP all -- * !lo 0.0.0.0/0 IP/16 Solution
root@ajeesh [~]# iptables -D LOCALOUTPUT 9

No comments:

Post a Comment