I have a firewall rule to whitelist a URL and additionally have been using IP whitelist to allow users to access the resource. I have a script setup for the user to go to that reveals their IP and X_FORWARDED_FOR header so I know what IP to whitelist. The IP is cloudflare’s obviously and usually the forwarded header is a IPv4 address. I have one client who shows a IPv6 address in the forward header and it changes every day at random making it impossible to allow them to access the resource. Strange thing is when I send them to something like http://www.whatsmyip.org it shows the same IPv4 address each day. I have also attempted to whitelist the IPv4 address without luck.
What is the workaround here?