Results 1 to 6 of 6

Thread: whitelist ips directadmin

  1. #1
    Join Date
    Mar 2017
    Location
    Netherlands
    Posts
    22

    Angry whitelist ips directadmin

    i added my IP in normal format like 127.0.0.1 tot the whitelist
    like said here https://help.directadmin.com/item.php?id=306

    but my ip still gets banned each time.

  2. #2
    Join Date
    Jul 2008
    Location
    Maastricht
    Posts
    3,172
    Are you sure it's the DA blacklist or is it the firewall banning you?
    Do you have a firewall running?
    Greetings, Richard.

  3. #3
    Join Date
    Mar 2017
    Location
    Netherlands
    Posts
    22
    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 by Musicfreak; 11-14-2017 at 11:33 AM.

  4. #4
    Join Date
    Jul 2008
    Location
    Maastricht
    Posts
    3,172
    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 by Richard G; 11-14-2017 at 01:58 PM.
    Greetings, Richard.

  5. #5
    Join Date
    Mar 2017
    Location
    Netherlands
    Posts
    22
    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 by Musicfreak; 11-14-2017 at 05:43 PM. Reason: Edit

  6. #6
    Join Date
    Jul 2008
    Location
    Maastricht
    Posts
    3,172
    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.
    Greetings, Richard.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •