Receiving Both Client and Cloudflare IPs?

We are utilizing the CF-Connecting-IP header and as a result we are seeing both the Client IP and the Cloudflare IP. We are doing our session management by IP and it appears that when the Client IP is the same and the Cloudflare IP changes we end up placing our customer on one of our other servers as we are currently using an internal load balancer vs CFs load balancer.

Is there a way to only present the Client IP to our Load Balancer?
Is there something else we should possible review to ensure that we are reading the correct header information for our sessions.

We did not have this issue prior to implementing Cloudflare.

You should only take the value from CF-Connecting-IP into account and completely disregard the actual client address of the IP packet. Right now you seem to do a combination of both.

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