Customer IP Address not passing to Miva/Maxmind through Cloudflare

dash-dns
#1

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

#2

These should help you out

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

#3

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

closed #4

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