IP Geo Block refugee question !
-
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.
-
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/MXU1BYAm7AciTuSLNW7qkSZrHIuZHEHope this helps!
Cheers,
NastiaThanks for the answer ! Will give a try to your plugin ASAP π
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.
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,
NastiaWith what I’ve teste Block All + My country work ! Are you suer it doesnt work ?
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,
NastiaYep ofc u resolved it π
But maybe you can fix this “bug” ?
In my opinion, whitelist should primor on the black list.
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,
AdamHey 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.
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 FreitasHey 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.
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 FreitasThanks 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.
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…
I can maybe open a ticket in you forum, I saw this ticket wich is the same issue :
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 ?
-
This reply was modified 6 years, 2 months ago by
The topic ‘IP Geo Block refugee question !’ is closed to new replies.