2024-11-26, 12:35 AM
(2024-11-23, 01:58 AM)TheDreadPirate Wrote: There is a way to do this, but not in Jellyfin.
Many routers support a functionality call "NAT loopback". When the router resolves your domain and sees that it the result is itself, it will keep traffic local instead of routing it to the internet and back.
The other way to achieve this, which is what I do, is setup a custom DNS entry in my router so that all local clients will get the local IP whenever they attempt to resolve my domain. When my phone leaves my home network it will instead get the public IP. This method also has the benefit of not needing an Internet connection.
i do this currently but if im watching media and go from lan to wan and the buffer runs out, it prompts me to reconnect to the server. on android, often i have to force quit the app to get it to connect to the wan ip over the same hostname. didnt used to be this way but now it is.
Stats:
JF running on Unraid Docker
Library Transcoded to h265 mkv via TDARR
Ram Drive Transcode
5950x
1660ti
60tb
JF running on Unraid Docker
Library Transcoded to h265 mkv via TDARR
Ram Drive Transcode
5950x
1660ti
60tb