For the sake of easy troubleshooting, here is the breakdown of my issue.
- Ported over to Cloudflare.
- Website has code to lookup the visitors IP address to give them options based on their IP (for example, if you are allowlisted, then you have extra buttons that let you do things like add note entries)
- Lookup no longer resolves the client IP.
- Server is resolving Cloudflare IP when looking at incoming traffic. This has broken access to people that are on the server’s “allow” list of IP addresses.
I’m sure this has something to do with the DNS proxy settings but I don’t know how to fix it, yet.