• Resolved holdusback

    (@holdusback)


    Hey there,

    I was using IP Geo Block for age now but It seem to be dead (last update was in december 2018).

    Does this plugin does the job in remplacements ?

    Thanks in advance & stay safe.

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @holdusback

    I trust you are doing well!

    The Defender plugin can block IPs based on the their Geolocation. It can be activated from Defender > IP Lockouts > IP Banning, from Locations option. After signup to the Maxmind Geolocation free service and add the API key, you can choose countries that you wish to blacklist or whitelist.

    Please see this screenshot:
    https://monosnap.com/file/MXU1BYAm7AciTuSLNW7qkSZrHIuZHE

    Hope this helps!

    Cheers,
    Nastia

    Thread Starter holdusback

    (@holdusback)

    Thanks for the answer ! Will give a try to your plugin ASAP πŸ˜€

    Thread Starter holdusback

    (@holdusback)

    Hey man, If I put my country is the whitelist, does it automatically block all other country ?

    I mean, I want my website only available in the whitelist I choose.

    EDIT : Sorry, I can choose “Block All” in black list, and my country in whitelist.

    So I think this is ok ! πŸ˜€

    • This reply was modified 6 years, 2 months ago by holdusback.
    • This reply was modified 6 years, 2 months ago by holdusback.
    • This reply was modified 6 years, 2 months ago by holdusback.
    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @holdusback

    I hope you are doing well!

    Whitelisting your country will not block the other countries. Please add the countries one by one to the blacklist field. I’m afraid the option β€œBlock All” will block all countries, including yours.

    Have a good day!

    Cheers,
    Nastia

    Thread Starter holdusback

    (@holdusback)

    With what I’ve teste Block All + My country work ! Are you suer it doesnt work ?

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @holdusback

    I hope you are doing well!

    I’m glad to know that it is working for you πŸ™‚ Perhaps something went wrong during test from my end πŸ™‚

    I’ve marked this ticket as resolved. If you do have any followup questions or require further assistance feel free to reopen it and let us know here.

    Kind regards,
    Nastia

    Thread Starter holdusback

    (@holdusback)

    Yep ofc u resolved it πŸ˜€

    But maybe you can fix this “bug” ?

    In my opinion, whitelist should primor on the black list.

    Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @holdusback

    Thanks for confirmation.

    The white-list should actually override the black-list so if you set “block all” and do white-list one or more countries in addition, those countries would be excepts from the “block all” blacklist. Note though: such white-listing will only override any country ban but will not override any 404 and/or login lockouts as those are separately handled.

    Best regards,
    Adam

    Thread Starter holdusback

    (@holdusback)

    Hey there, look like I’ve talked too quickly.

    If I put block all in black list, look like it prior to white list…

    So I have to put all country in black list, except mine ?

    EDIT : Look like WP Fatest Cache mess with this, I dont really understand whats going on

    • This reply was modified 5 years, 10 months ago by holdusback.
    • This reply was modified 5 years, 10 months ago by holdusback.
    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @holdusback

    Hope you are doing well.

    I was able to replicate some issues when using the WP Fastest Cache > Pre Load option.

    I’m going to report this behaviour to Defender developers.

    Could you try to disable this feature and check if the issue is gone?

    You can also test our Cache plugin on WordPress > Plugins > Add New > Hummingbird – Speed Optimize, Cache, Minify & Defer Critical CSS/Javascript

    Let us know the result you got.
    Best Regards
    Patrick Freitas

    Thread Starter holdusback

    (@holdusback)

    Hey there,

    It does the same.

    I think WPFC cache the Defenders blocked page, and after that it show the blocked message to everyone (white or black list) cause he cached the page.

    Saw online that block country and cache doesnt really work together, the thing is that with IP Geo Block it worked great, never had any issue…

    EDIT : Do you know with your cache plugin it work without any issue ?

    • This reply was modified 5 years, 10 months ago by holdusback.
    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @holdusback

    Thank you for the update.

    I could notice some issues on Defender and WP Fastest Cache, I reported this to our developers.

    Hummingbird plugin will work correctly, it doesn’t cache any error or lockout page to avoid this issue.

    Let us know if you need any further help.
    Best Regards
    Patrick Freitas

    Thread Starter holdusback

    (@holdusback)

    Thanks for the answer, can you please update me about this ?

    Im pretty sure I just need to ask WPFC to not cache thoses error page.

    Thread Starter holdusback

    (@holdusback)

    I have also tried to add

    <?php wpfc_exclude_current_page(); ?>

    To /defender-security/app/module/ip-lockout/view/locked.php

    But it seems to instead, never lock nobody…

    Thread Starter holdusback

    (@holdusback)

    I can maybe open a ticket in you forum, I saw this ticket wich is the same issue :

    https://premium.wpmudev.org/forums/topic/when-a-clients-ip-is-blocked-by-defender-wp-rocket-caches-the-lockout-page/

    I have added β€œheader(‘HTTP/1.0 403 Forbidden’);” to the locked page of Defender Security.

    The page is located in /plugins/defender-security/app/module/ip-lockout/view/locked.php

    If I use a proxy from a blocked country I see the locked page.

    But If I come from my own country (wich is in whitelist) I also see the locked page, in the source code I can see :

    <!– WP Fastest Cache file was created in 0.12683987617493 seconds, on 28-07-20 8:42:38 –>

    I am maybe doing something wrong ?

Viewing 15 replies - 1 through 15 (of 16 total)

The topic ‘IP Geo Block refugee question !’ is closed to new replies.