Customer IP Address not passing to Miva/Maxmind through Cloudflare

Hi,

We use the Miva Shopping Cart solution. We use Maxmind to monitor for fraud. When Cloudflare is on, Maxmind is not being sent the customer IP address. When I turn Cloudflare off, Maxmind can recognize the customer IP address. How do I configure Cloudflare to pass the correct customer IP address through to Miva? Right now, all Maxmind is recognizing is the Miva’s server IP address when Cloudflare is on.

Thanks, Doug

These should help you out
https://support.cloudflare.com/hc/en-us/articles/206776727-What-is-True-Client-IP-

I use the code located in this post for php to get the client ip

Also, the official support section for restoring the original visitor IPs.

https://support.cloudflare.com/hc/en-us/sections/200805497-Restoring-Visitor-IPs

You might also be able to manually use the X-Forwarded-For or Cf-Connecting-Ip geaders

https://support.cloudflare.com/hc/en-us/articles/200170986-How-does-Cloudflare-handle-HTTP-Request-headers-

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.