• 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 Off Topic Self-hosting & Homelabs Silly reverse proxy question

     
    • 0 Vote(s) - 0 Average

    Silly reverse proxy question

    kandykarter
    Offline

    Member

    Posts: 146
    Threads: 21
    Joined: 2023 Jun
    Reputation: 3
    #1
    2025-01-14, 08:22 PM
    I've been wondering, I run Jellyfin behind a reverse proxy, at jellyfin.mydomain.com. When I stream things inside my own home, is that traffic all being routed out through the internet, or is DNS smart enough to know it's local traffic and keep it on the local network?

    Thanks
    Specifics:
    Jellyfin 10.10.7 (docker) on Debian 12.6 // N100 16GB
    Storage: Synology DS220+ CIFS mounts
    Clients: Jellyfin4Kodi (Addon Mode), Android, Android TV, Roku, Symfonium

    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-01-14, 08:30 PM
    Depends on your router.

    Some routers automatically keep local traffic local. Some require you enable a setting or require you to setup a local DNS entry in the router that points to the LAN IP of my server.

    Personally, I opt to have a local DNS entry in my router to ensure that my clients can still resolve my domain name when the Internet is out.
    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]
    jellynoob1994
    Offline

    Junior Member

    Posts: 22
    Threads: 5
    Joined: 2024 Nov
    Reputation: 0
    Country:Netherlands
    #3
    2025-01-15, 08:18 PM
    my shit standard isp router do's see local traffic
    but millage may vary
    Boondocks1712
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2023 Oct
    Reputation: 0
    Country:Spain
    #4
    2025-01-19, 10:07 AM
    (2025-01-14, 08:22 PM)kandykarter Wrote: I've been wondering, I run Jellyfin behind a reverse proxy, at jellyfin.mydomain.com. When I stream things inside my own home, is that traffic all being routed out through the internet, or is DNS smart enough to know it's local traffic and keep it on the local network?

    It depends. If you have a split-horizon DNS and your internal clients resolve the internal IP address of your server when querying for jellyfin.mydomain.com, then your router is not going to see the traffic (assuming client and server are in the same VLAN).

    If your internal clients resolve the public IP address of your router, then the traffic will go to the router and it will have to do what it's known as NAT loopback or NAT hairpin to send it back to your server.
    bjd223
    Offline

    Junior Member

    Posts: 5
    Threads: 0
    Joined: 2024 Dec
    Reputation: 0
    Country:United States
    #5
    2025-01-23, 02:57 PM
    Use your internal IP address instead of the DNS name when you configure your local clients. If you want to use the DNS name for everywhere you need to do one of the following;

    1.) Turn on/configure hairpin NAT in your router (if it supports it)
    2.) Setup split-DNS with a zone/record for your public TLD with the record pointing to your internal IP address
    3.) Use something like the HOSTS file (in windows for example) to override DNS resolution on each device

    1 and 2 are the "right way to do it" with number 3 being more of a workaround. I would just use the local IP address so you know it is staying local.
    « 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