Unban an IP from CSF Firewall

To unban an IP from CSF firewall, run

csf -dr IP_ADDR

Here i have an IP blocked in firewall.

[root@server22 ~]# iptables -L -n | grep 13.224.29.193
DROP       all  --  13.224.29.193        0.0.0.0/0           
LOGDROPOUT  all  --  0.0.0.0/0            13.224.29.193       
[root@server22 ~]# 

To see if CSF is blocking the IP, run

csf -g IP_ADDR

Example

This command also give reason for why the IP is blocked.

Lets unban the IP address with command

csf -dr IP_ADDR

Now IP should not be listed in iptables, verify it with

iptables -L -n | grep IP_ADDR

csf

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *