I run Plex at home and reach it from my phone over WireGuard. The one thing I could never do was play something on a friend’s TV: when you cast, the TV fetches the film from the server itself, and their TV is not on my tunnel. The usual answers are to open the server to the internet or to put the friend on your network.
So I made Ferry. The phone is on both networks at once (their Wi-Fi, and home through a split tunnel), so it passes on the one title you picked: to their Chromecast, a smart TV over DLNA, or any browser from a QR code. It is not a router. The TV can’t reach anything at home, each link carries a random token that dies when you press Stop, nothing extra is opened to the internet, and your Plex token stays on the phone. No account with me and no analytics of mine.
Needs Android 10+, your own Plex server and a WireGuard tunnel home. It is a paid app on Google Play (I made it, so I’m biased; happy to answer anything, including the boring network details).
The link above is the setup guide: Plex, WireGuard as a split tunnel, then Ferry.
Ferry is an independent app, not affiliated with, endorsed or sponsored by Plex, Inc. or Google LLC.



Good pointer, and fair: BubbleUPnP can relay to a TV over DLNA and Chromecast, and it has a free version. Ferry is narrower: it starts from your own Plex library through your own tunnel, and the TV gets one film from a link that stops working when you press Stop, with a QR code for a browser as the fallback. If Bubble already covers your setup, that’s a good choice. Noted on the price too.