Unban an IP from CSF Firewall
To unban an IP from CSF firewall, run
1 |
csf -dr IP_ADDR |
Here i have an IP blocked in firewall.
1 2 3 4 |
[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
1 |
csf -g IP_ADDR |
Example
This command also give reason for why the IP is blocked.
Lets unban the IP address with command
1 |
csf -dr IP_ADDR |
Now IP should not be listed in iptables, verify it with
1 |
iptables -L -n | grep IP_ADDR |