My setup is: CloudFlare -> nginx reverse proxy -> Plex
When a remote user streams from my Plex server, the session is correctly identified as a WAN session in Tautulli, but the new Plex dashboard shows all the traffic as local instead of remote. I would guess that the dashboard code is not properly interpreting the proxy headers to find the real originating IP?
Well, it’s not that Plex doesn’t support the headers, it’s that the dashboard graph doesn’t seem to be using the same logic. Remote streams are correctly shown as remote in the per-stream information card in the dashboard above the graph, and also for WAN bandwidth limits and in Tautulli’s information displays. The problem seems to be isolated to the graph:
One thought for the Plex devs: Are you correctly handling X-Forwarded-For: in the case of multiple proxies, where the value is a comma-separated list of IPs (with the original IP first)? I’ve seen a bug in other projects where it worked OK behind a single proxy but not multiple proxies.