• 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 Jellyfin local IP detection with Cloudflare

     
    • 0 Vote(s) - 0 Average

    Jellyfin local IP detection with Cloudflare

    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-10-03, 07:48 PM
    The functionality you want, not having to change URLs to get local access, is incompatible with using cloudflared tunnels.

    If you DID NOT have cloudflared, many routers support a capability called "NAT Hairpin" or "NAT Loopback". If an outgoing requests resolves to your WAN IP, your router will keep the traffic local instead of going out to the web and then come back.

    Because your public facing access is through the cloudflared tunnel, with your domain pointing to cloudflare, any requests to that domain HAVE to go out to cloudflare before coming back.

    It sounds like you are already not using https. Even with cloudflared, your access to your jellyfin is only secure between your home and cloudflare. After it leaves cloudflare it is unencrypted.

    To get the functionality you want, you will need to stop using cloudflared.

    1) First determine if your router supports NAT hairpin/loopback. Without it, this isn't possible anyway.
    2) Get a cert, setup https in nginx.
    3) Turn off cloudflared and point your domain to your router's WAN IP.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    Messages In This Thread
    Jellyfin local IP detection with Cloudflare - by nodiink - 2023-10-03, 07:24 PM
    RE: Jellyfin local IP detection with Cloudflare - by TheDreadPirate - 2023-10-03, 07:48 PM
    RE: Jellyfin local IP detection with Cloudflare - by bitmap - 2023-10-03, 08:14 PM
    RE: Jellyfin local IP detection with Cloudflare - by nodiink - 2023-10-04, 07:07 AM
    RE: Jellyfin local IP detection with Cloudflare - by TheDreadPirate - 2023-10-04, 12:51 PM
    RE: Jellyfin local IP detection with Cloudflare - by nodiink - 2023-10-04, 02:41 PM
    RE: Jellyfin local IP detection with Cloudflare - by TheDreadPirate - 2023-10-04, 03:02 PM
    RE: Jellyfin local IP detection with Cloudflare - by nodiink - 2023-10-04, 03:10 PM

    • 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