Customer IP Address not passing to Miva/Maxmind through Cloudflare



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

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.

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

closed #4

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