• 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 Networking & Access How do I get the real IP address when using reverse proxy + cloudflare?

     
    • 0 Vote(s) - 0 Average

    How do I get the real IP address when using reverse proxy + cloudflare?

    FuzzyJelly
    Offline

    Junior Member

    Posts: 12
    Threads: 2
    Joined: 2023 Dec
    Reputation: 0
    Country:Germany
    #1
    2023-12-27, 12:12 PM
    First of all, I've been loving Jellyfin and can't wait for more development and features in the future!

    So I've been running my JF server locally for a few months but my significant other was interested in watching things when away from home, so I started looking into reverse proxies. I got it up and running with Cloudflare + nginx proxy manager fairly quickly but I noticed whenever I access the server, I only get the local IP address (172.17.X.X). Other than that, everything is running smoothly.

    I tried adding lines to my nginx config through the GUI but nothing seemed to show the real IP (I tried using 'Custom Location', as well as the 'Advanced' tab) and I clearly changed too much between that and the JF network settings because I somehow locked myself out of JF and had to completely reinstall it. I got the basic reverse proxy set up again last night but other than that, my settings are completely fresh. 

    I've attached screenshots of nginx and the only thing that is modified in JF is 'Allow remote connections' is enabled. Can anyone tell me what I'm missing?

    JF: 10.8.13
    Setup: Docker
    Proxy: Nginx Proxy Manager
    Additional: 
    • Using Cloudflare
    • Using subdomain (ex: jellyfin.example.com)

                   
    Venson
    Offline

    Moderator, Server Dev, XBox Maintainer

    Posts: 378
    Threads: 7
    Joined: 2023 Jun
    Reputation: 15
    Country:Germany
    #2
    2023-12-27, 02:45 PM (This post was last modified: 2023-12-27, 02:45 PM by Venson.)
    Hey,

    As using Cloudflare Tunnels with Jellyfin violate Cloudflares Terms of Service, we generally do not advice to use or help with issues related to them.
    typos are finders, keepers.
    Next Jellyfin release 10.11.0 will be Soon™
    Soon™ is an unregistered trademark of Jellyfin International
    FuzzyJelly
    Offline

    Junior Member

    Posts: 12
    Threads: 2
    Joined: 2023 Dec
    Reputation: 0
    Country:Germany
    #3
    2023-12-27, 03:23 PM
    (2023-12-27, 02:45 PM)Venson Wrote: Hey,

    As using Cloudflare Tunnels with Jellyfin violate Cloudflares Terms of Service, we generally do not advice to use or help with issues related to them.

    Oh really? I thought if you used CF Tunnels it violated their TOS, not normal reverse proxies. So then what's the best way forward?
    Venson
    Offline

    Moderator, Server Dev, XBox Maintainer

    Posts: 378
    Threads: 7
    Joined: 2023 Jun
    Reputation: 15
    Country:Germany
    #4
    2023-12-27, 03:51 PM
    a Cloudflare Reverse Proxy still "routes" all traffic though Cloudflares servers so its the same issue that you pipe media data though thier servers.

    You could just setup an DDNS to update your domains IP on the regular and host your own ReverseProxy instead.
    typos are finders, keepers.
    Next Jellyfin release 10.11.0 will be Soon™
    Soon™ is an unregistered trademark of Jellyfin International
    « 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