• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting NPM Real IP

     
    • 0 Vote(s) - 0 Average

    NPM Real IP

    Eri Cka
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Sep
    Reputation: 0
    #1
    Yesterday, 03:51 PM
    Hello,

    I use NPM and I can't have the real IP of clients even by adding this in the configuration

    "proxy_set_header X-Forwarded-For $remote_addr;"

    I also added the IP address of the Nginx server in the jellyfin configuration
    jravin
    Offline

    Junior Member

    Posts: 24
    Threads: 3
    Joined: 2025 Jun
    Reputation: 0
    Country:United States
    #2
    Yesterday, 04:40 PM
    (Yesterday, 03:51 PM)Eri Cka Wrote: Hello,

    I use NPM and I can't have the real IP of clients even by adding this in the configuration

    "proxy_set_header X-Forwarded-For $remote_addr;"

    I also added the IP address of the Nginx server in the jellyfin configuration

    Google the following command:

    Code:
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

    I am guessing this is what you meant, but Jellyfin needs to trust the reverse proxy to use the X-Forwarded-For header. In the Jellyfin admin dashboard under Networking, you can add trusted proxy IPs. Only requests from those IPs will have their X-Forwarded-For header used for the client IP.

    Debian 13
    11th Gen Intel Core i9-11900KF @ 3.50GHz
    Intel Arc [B580] Battlemage G21 (BMG-G21)
    Corsair 64gb 2133mhz (2x32)
    AI818 M.2 PCIe Gen4 SSD (1TB)
    Ubiquiti UNAS Pro (RAID5 7x24TB = 144TB)
    Eri Cka
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Sep
    Reputation: 0
    #3
    6 hours ago
    Thank you for your help I succeeded, however with external applications like Jellyseerr I do not have the right IP address, I have the address in 172 and also adding it in Jellyfin it does not work
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode