SOLVED: Client IPs with reverse proxy not showing correct - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +---- Forum: Networking & Access (https://forum.jellyfin.org/f-networking-access) +---- Thread: SOLVED: Client IPs with reverse proxy not showing correct (/t-solved-client-ips-with-reverse-proxy-not-showing-correct) |
Client IPs with reverse proxy not showing correct - th0str - 2025-01-13 I have an issue with client IPs on reverse proxy. When accessing my jellyfin server from jellyfin.mydomain.zxz all my client IP are listed as my gateways IP address (192.168.1.1) - regardless of the clients are located on my local network or as a remote connection. But they show correctly then accessing the server locally. Im using Traefik 3.3.1 and Jellyfin 10.10.3 My network settings are as following: Code: <?xml version="1.0" encoding="utf-8"?> RE: Client IPs with reverse proxy not showing correct - TheDreadPirate - 2025-01-13 You have to add 192.168.1.1 as a known proxy. "traefik" in that field doesn't do anything. If traefik is on a different box, you may need to add additional IPs to known proxies (comma separated). RE: Client IPs with reverse proxy not showing correct - th0str - 2025-01-13 (2025-01-13, 06:00 PM)TheDreadPirate Wrote: You have to add 192.168.1.1 as a known proxy. "traefik" in that field doesn't do anything. If traefik is on a different box, you may need to add additional IPs to known proxies (comma separated). That is also my guess but don't change anything if I set 192.168.1.1 as a know proxy. Clients are still reporting with the same IP. RE: Client IPs with reverse proxy not showing correct - TheDreadPirate - 2025-01-13 Did you restart Jellyfin? IIRC, everything in the network section requires a restart to apply the change. RE: Client IPs with reverse proxy not showing correct - th0str - 2025-01-13 Yes I have restarted server after making the changes in Network settings RE: Client IPs with reverse proxy not showing correct - TheDreadPirate - 2025-01-13 Is the x-forwarded-for header set in traefik? RE: Client IPs with reverse proxy not showing correct - th0str - 2025-01-15 I found the issue. Cloudflare did not forward headers and after I fixed that, the IPs showed up correctly RE: Client IPs with reverse proxy not showing correct - TheDreadPirate - 2025-01-15 For the record, using cloudflare to proxy video and audio streams is against their TOS. We recommend you switch to DNS only in the cloudflare dashboard. |