WordPress.org

Support

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

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • +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.

    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.

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

    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.

    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.

    That seemed to sort it, thanks Ed 🙂

    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.
Skip to toolbar