How to disable IP ban in DirectAdmin

marson

Verified User
Joined
Jan 30, 2012
Messages
60
Sometmes I get the following message when trying to login to my DirectAdmin server:

Your IP is blacklisted
http://help.directadmin.com/item.php?id=306

is it possible to disable this ban system or whitelist my IP at least? I know the procedure to unban the IPs but I would like to completely disable this systenm, I am using CSF and other thinks on my server so this is annoing.
 
is it possible to disable this ban system or whitelist my IP at least?
Have you even read the link you are pointing to? The answer to your question is right below it:

If you wish to ensure you never get blacklisted, you can create the file below and add your IP to it:

/usr/local/directadmin/data/admin/ip_whitelist

so there you put it. In this case it might be Directadmin blocking you and not CSF.
For csf, use the csf.allow and csf.ignore files.

I don't know if it's possible to completely disable BFM of DA and I would advise against it to do so.
 
Hello Richard G

Thank your for the answer it is partially helpful, I didn't know that I can create /usr/local/directadmin/data/admin/ip_whitelist but that's not the best solution, in case of hosting company where multiple people is using an VPS the better approach would be to completely turn off this mechanism.
 
the better approach would be to completely turn off this mechanism.
As said, a combination of BFM and CSF/LFD would be better. However it's your choice ofcourse, you're free to decide otherwise.

It's possible to disable DA's BFM server wide.
To achieve this, edit the /usr/local/directadmin/conf/directadmin.conf file and change or add:
bruteforce=0
and restart directadmin. After that it should be disabled.
 
Back
Top