we use cloudflare for some of our WP sites and on one of them that we use IP access restrictions via a plugin is not working. - after investigation the reason it is not working is that it is seeing an entirely different ip address than what is the visitors real ip.
I assume this is a cloudflare thing - because we dropped a short code on another site that is not using clouflare and we see the proper ip address.
is there a setting we can switch or something we can put in htaccess to pass the visitors real ip address.