Command to clear unblock IP's list..

gamgam

Member
Apr 7, 2008
9
0
51
hello,

I forgot SSH Command to clear unblock IP's list..
i've a client which is his IP was blocked .. I usually using : csf -a myIPclient to unblock it ..

and now .. may client ws blocked again .. when i'm using csf -a myIPclient
it show : add failed : myIPclient is in already in allow file /etc/csf/csf.allow

a day ago i've been told that it could be a cache.. and then i've been given a command to clear unblock list and the try unblock it again .. and it work ..

but i forgot the command :(:(

does anybody knows the command ??
 

brianoz

Well-Known Member
Mar 13, 2004
1,146
7
168
Melbourne, Australia
cPanel Access Level
Root Administrator
csf -r -- restarts
csf -a IP -- allows and should remove from deny list

you may have to edit /etc/csf/csf.deny manually
you may have to put your IP in /etc/csf/csf.ignore (I think that's the right file name, too lazy to check) to ensure it doesn't get reblocked.

You may want to edit the CSF configuration settings to turn on the temporary blocking; that way if real people get blocked, it's only for an hour or so (set it to at least an hour though).