Hi @jdstiegman,
I can see the traffic in real time using Wordfence (another WordPress plugin)
As I could not see what you were seeing, please includes as much information as possible. Then you can get the answer more quickly.
There’s a few possibilities that would cause your issue.
If you can not find any logs in this plugin’s “Logs” tab, then your site would be placed behind the proxy or load balancer. Please check “How does Wordfence get IPs” in “Wordfence Options” page. If your choice is other than “Let Wordfence use the most secure method to get visitor IP addresses…“, then you need to configure similar thing in this plugin. Please put the appropriate key of PHP’s environment valiable $_SERVER
such as HTTP_X_FORWARDED_FOR
, HTTP_X_REAL_IP
or something like that to retrieve the correct IP.
In the case if you can find any logs in this plugin’s “Logs” tab, then your site may be safe.
I’m not sure when Wordfence grabs the live traffic. But there’s a possibility that live traffic shows the requests before this plugin would validate the country code because Wordfence WAF starts its jobs just before WordPress is executed. Wordfence configures PHP to enable auto_prepend_file
directive to do this.
Regarding “Best for Back-end” button, it would enable all the settings in “Back-end target settings” and select “Validation timing” as “mu-plugins (ip-geo-block-mu.php)“.
Anyway, I need more information about your server. I’d appreciate your understanding.
Thanks.