Jellyfin Forum
fast lan to wan transition - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Development (https://forum.jellyfin.org/f-development)
+--- Forum: Feature Requests (https://forum.jellyfin.org/f-feature-requests)
+--- Thread: fast lan to wan transition (/t-fast-lan-to-wan-transition)



fast lan to wan transition - gaming09 - 2024-11-23

would love to see a fast lan > wan >lan transition depending on network configuration for mobile clients make it seemless as possible if on lan then use 192xxx if on wan then use hostname


RE: fast lan to wan transition - TheDreadPirate - 2024-11-23

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.


RE: fast lan to wan transition - gaming09 - 2024-11-26

(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.


RE: fast lan to wan transition - TheDreadPirate - 2024-11-26

I'll do some testing when I leave for work tomorrow morning. I use Finamp these days for music in my car. I'll test with the official Android app tomorrow morning.