• Resolved V.E.L

    (@vezraimanuel)


    Hello,

    I found this earlier in the log

    15/Jun/19 07:25:16 #6825682 MEDIUM - ::1 GET /wp-login.php - Blocked access to the login page - [bot detection is enabled]

    From what i know the plugin should have localhost in the whitelist, perhaps it adds 127.0.0.1, but not yet ::1, can you please check it out?

    thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author nintechnet

    (@nintechnet)

    The “Login Protection” works before the firewall loads it configuration. That means that it does not follow the policies. It follows only the setting from the “Login Protection” page, regardless of the IP (public or private, IPv4 or IPv6).
    If you want to whitelist an IP so that it can always access the login page, you need to use the .htninja file:

    <?php
    /*
     +====================================================================+
     | NinjaFirewall optional configuration file                          |
     |                                                                    |
     | See: https://nintechnet.com/ninjafirewall/wp-edition/help/?htninja |
     +====================================================================+
    */
    if ( $_SERVER["REMOTE_ADDR"] == '::1' ) {
       return 'ALLOW'; // whitelist
    }
    
    
    Thread Starter V.E.L

    (@vezraimanuel)

    awesome, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘IPv6 support? (::1)’ is closed to new replies.