Network Setup:
WAN > Router > DMZ Proxy (172.16.0.1) > LAN (172.16.20.x)
Plex is on 172.16.20.200
Using NGINX Reverse Proxy on 172.16.0.1 (DMZ Network) to proxy requests from WAN, and also internally on LAN for SSL/Cert/Name resolution.
If I access Plex from outside my network coming in on the WAN, Plex honours the origin IP in the header.
If I access Plex from my network e.g. 172.16.20.123 or 172.16.20.300 then Plex seems to completely ignore the header and shows the origin IP as the Proxy (172.16.0.1) - I have checked, and the origin IP (172.16.20.123) is definitely forwarded to Plex in the header.
Am I missing something? Seems to be the same issue here, but it was dismissed - perhaps misunderstood? Why doesn’t plex use X-Real-IP or X-Forwarded-For headers? - General Discussions - Plex Forum
Not being able to distinguish between different hosts/clients on my internal network is a huge limitation.