Support » Plugin: WordPress Firewall 2 » [Plugin: WordPress Firewall 2] Prevents access to Better WP Security in Multisite

Viewing 7 replies - 1 through 7 (of 7 total)
  • slackerofthemind

    (@slackerofthemind)

    +1 on this issue *without* a multisite. Whitelisting fails to allow Better WP Security to open its Dashboard links.

    Given Better WP Security has nearly the same firewall parameters built in, I have deactivated Firewall 2.

    Ed

    (@coopeh)

    Add your IP to the whitelist. Also Firewall 2 isn’t really Multisite enabled, each site has it’s own settings so if you have a lot of sites you won’t have much fun. I’m looking at hardcoding everything for the time being.

    Philip John

    (@philipjohn)

    Thanks for the update. IP might be tricky because I’m going through CloudFlare but I’ll come back if it is…

    Ed

    (@coopeh)

    Tried subnet IPs?

    204.93.240.0/24;
    204.93.177.0/24;
    199.27.128.0/21;
    173.245.48.0/20;
    103.22.200.0/22;
    141.101.64.0/18;
    108.162.192.0/18;

    Not sure if there’s been anymore added, that’s what we use though.

    Ed

    (@coopeh)

    Could try just modifying the options in wordpress-firewall2.php

    add_option('WP_firewall_whitelisted_ip',
            serialize(
                    array(
                            '0' => $_SERVER['REMOTE_ADDR'],
                            '1' => '204.93.240.0/24',
                            '2' => '204.93.177.0/24',
                            '3' => '199.27.128.0/21'
                            '4' => '173.245.48.0/20'
                            '5' => '103.22.200.0/22'
                            '6' => '141.101.64.0/18'
                            '7' => '108.162.192.0/18'
                    )
            )
    );
    update_option('WP_firewall_whitelisted_ip',
            serialize(
                    array(
                            '0' => $_SERVER['REMOTE_ADDR'],
                            '1' => '204.93.240.0/24',
                            '2' => '204.93.177.0/24',
                            '3' => '199.27.128.0/21'
                            '4' => '173.245.48.0/20'
                            '5' => '103.22.200.0/22'
                            '6' => '141.101.64.0/18'
                            '7' => '108.162.192.0/18'
                    )
            )
    );

    I’ve done similar but with different IPs and it’s worked on network activation fine.

    Philip John

    (@philipjohn)

    That seemed to sort it, thanks Ed 🙂

    Ed

    (@coopeh)

    Cool, I’d check if there are any more IP’s available at the moment. They’re adding more each day afaik.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: WordPress Firewall 2] Prevents access to Better WP Security in Multisite’ is closed to new replies.