Jellyfin Forum
Silly reverse proxy question - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Off Topic (https://forum.jellyfin.org/f-off-topic)
+--- Forum: Self-hosting & Homelabs (https://forum.jellyfin.org/f-self-hosting-homelabs)
+--- Thread: Silly reverse proxy question (/t-silly-reverse-proxy-question)



Silly reverse proxy question - kandykarter - 2025-01-14

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


RE: Silly reverse proxy question - TheDreadPirate - 2025-01-14

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.


RE: Silly reverse proxy question - jellynoob1994 - 2025-01-15

my shit standard isp router do's see local traffic
but millage may vary


RE: Silly reverse proxy question - Boondocks1712 - 2025-01-19

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