whitelist ips directadmin

Are you sure it's the DA blacklist or is it the firewall banning you?
Do you have a firewall running?
 
each time i see
Your IP is blacklisted
http://help.directadmin.com/item.php?id=306
and when i go to that file and remove it its good.

i custombuild with comodo waf and config server.

my ip is also in /etc/csf/csf.allow and in t /etc/csf/csf.ignore

when i check the security log it says this.

has tried to log in 2 times, unsuccessfully, this time into (null)'s account ***
 
Last edited:
If your ip is in csf.allow and in csf.ignore then csf is not blocking it. I use the IGNORE_ALLOW = "1" setting so I only put ip's in csf.allow.
If csf is blocking it would be present in the lfd.log which does not look the way you posted it here.

So it looks like some other firewall is blocking your access. Do you still have an instance of iptables running? Otherwise it might be a comodo thing, I'm not sure about that, but it isn't CSF which is blocking you.

Which Linux distro are you using and in which logfile did you find this entry?
And which DA version are you running?

Oh yes, do you have something like this (including paths) to your whitelist in your directadmin.conf?
Code:
ip_blacklist=/usr/local/directadmin/data/admin/ip_blacklist
ip_whitelist=/usr/local/directadmin/data/admin/ip_whitelist
bruteforce=0
brutecount=10
exempt_local_block=0
brute_force_time_limit=120
clear_blacklist_ip_time=0
Source: https://help.directadmin.com/item.php?id=284

I still wonder why people get blacklisted with their ip anyway.
 
Last edited:
Centos 7

i have IGNORE_ALLOW = "0"

i do run a iptables thing because of the cfs allow only 1 country to login.

edit:
i added those to my directadmin.conf and still my ip is beeing blocked.
i added my Ip to the comodo whitelist IP. still doesnt help

Most of the time when i enter the admin for the first time for the day it almost always says blocked. Or it shows the login screen and when i enter my info it says blocked while the info entered is correctly.
 
Last edited:
After adding to directadmin I presume you restarted directadmin.
CSF is a shell for iptables, you don't need to run iptables. If you install correctly, so use the installer for directadmin, no country is blocked unless you blocked it yourself.

It seems DA is blocking you since you arrive in the specific da blacklist as you told (if you remove your ip from their you're good again you wrote).
Maybe this thread can shed some light onto things?
https://forum.directadmin.com/showthread.php?t=54300

Otherwise we'll have to wait until somebody else can answer this. Sorry. I'm out of ideas.
 
Back
Top