No issues as I truly appreciate the feedback.
The source ip on the packet isn’t being used as that would be the proxy sending the traffic. The
X-Forwarded-For part of the HTTP traffic is what Plex is interpreting and replacing that with the IP.
Similar with proxying via Cloudflare:
I’m just baffled as to why the internal addresses are being ignored while external are as it’s in Plex since the packet captures and all the plex debug logs show the proper header.
In the cloudflare example, it’s just saying if you see a real ip that’s one of those, replace the real ip with the source IP from cloudflare that is passes over.
It’s the specific code in Plex that’s here:
14.290 [0x7f1bec7ff700] DEBUG - Using X-Forwarded-For: 73.81.0.XX as remote address
That’s ignoring the private RFC range.