Pulling an M3U from a remote server?

Crazy question of the day from me, here goes:

I have TWO ISPs coming into my home (long story). My Channels server runs on one and a few of my devices on the other. Let's say channels is on network #1 - I am still able to access it from network #2 with a web browser thusly:

ip.network.number.one:8089

I am asked to authorize with my channels account, and when I do I can reach the server and admin it and pull the M3U from:

ip.network.number.one:8089/devices/TVE-Comcast_SSO/channels.m3u

Do I have any such options on a headless machine? Can authorization be baked into the URL somehow?

Authentication requests are based on the source IP making the request. If the IP is local, no authentication is required.

You could enable http logging under experimental and check the IPs shown in the two scenarios. You might be able to get the behavior you want by adjusting your routing tables or nat loopback settings.

There is currently no way to embed auth in the URL.

2 Likes

Understood, thanks. I'm trying to find a work around for TV IP blocking . My thought is that if host the channels server locally at home and then pipe the M3Us to the VPS Media Server, I should be good. The challenge is getting the media server authenticated as it's going to run into a problem when it tries to access the M3U Url from a previously unauthorized IP.

Latency will be an issue. But your best bet would be to establish a site-to-site VPN link between your home network and your VPS. Your best options are either an IKEv2 or WireGuard connection. (WireGuard connections tend to have lesser barrier to entry, and seem to require a little less overhead.)

Wondering how I know what IPs are blocked. If I have a VPN on the VPS server and channels runs through that - maybe it gives me an IP that allows TVE? I agree latency is a problem.

** This is all an academic exercise to see what's possible btw I have a great and reliable setup at home.

If you install tailscale on both dvrs that might be the simplest way to establish a link.