Jellyfin Forum
Log in's on different networks - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Networking & Access (https://forum.jellyfin.org/f-networking-access)
+---- Thread: Log in's on different networks (/t-log-in-s-on-different-networks)



Log in's on different networks - xjsar - 2024-08-14

So have a random quick question. I recently set up jellyfin after many frustrations. But its finally set up and running beautifully. Absolutely love it. 

My current set up is obviously inhouse on my LAN. But ive also set up it up to where i have port forwarded (with security features) via web address for simplicity for family. Right now for my wife to access jellyfin on her phone while shes at work (works 24hr shifts) i have the server address pointed through the URL address. However, id like for her jellyfin app to transfer to the local LAN address when shes at home on my LAN instead of having the app go out and then come straight back into the network. Is something like that possible where it automatically attempts to contact one address, and if it fails after X time or attempts, it trys another address?


RE: Log in's on different networks - Skankhunt42 - 2024-08-14

(2024-08-14, 08:02 PM)xjsar Wrote: So have a random quick question. I recently set up jellyfin after many frustrations. But its finally set up and running beautifully. Absolutely love it. 

My current set up is obviously inhouse on my LAN. But ive also set up it up to where i have port forwarded (with security features) via web address for simplicity for family. Right now for my wife to access jellyfin on her phone while shes at work (works 24hr shifts) i have the server address pointed through the URL address. However, id like for her jellyfin app to transfer to the local LAN address when shes at home on my LAN instead of having the app go out and then come straight back into the network. Is something like that possible where it automatically attempts to contact one address, and if it fails after X time or attempts, it trys another address?


The issue should be, that the Jellyfin App is doing a DNS lookup once at startup.
So when switching to your internal network the App is still trying to reach your public ip.

In theory it should work to set a DNS A Record in your internal DNS Server to your Public IP for the Jellyfin server. Then you would have to DNAT requests to your public ip --> to your private jellyfin server ip.

For custom NAT you will most likely need some pfsense, OPNsense or some other enterprise grade firewall.
The ISP Router most likely won't have a feature for that.

It should look like this (From left to right: Source IP, Destination IP, Service, Translation):

   

** Host MADLEN-WebProxyServer is my Reverse Proxy which is also serving jellyfin