The site streams to the IP of the router then to the Mac and the Mac sends it over the Wi-Fi to the local IP address of the TV.
If you do it through the app, like YouTube, it may have special code to connect directly to the TV and tell it to run in the app.
A quick skim of this tells me it’s a bit more complicated than one or the other. https://nto.github.io/AirPlay
It would appear to me that if you’re doing a traditional casting of the video it’ll not use your VPN. As it just passes through the information needed for the device to fetch the video. Unless everything is configured to use the VPN*
Whats the cheapest and most facile way to get AppleTV to run through VPN? Can I get something in-between router and device that enforces everything thru it?
So sick of Appls bullshit, fuck
The cheapest option would be to see if your VPN provider has an app or workaround for the appletv to do this.
The more effective option would be to see if your router has a feature to use the VPN and if not use a router that does.
Many “bettter” routers can do this, pfsense can do it.
The problem is that Apple TV may get removed from your local network, meaning you can’t air-play to it at all lol.
Unless your whole network is on the vpn.
Why would you need a VPN inside your local network?
Cuz if I wanna stream shit, I don’t want them to have my IP in case they ban it or they are selling that info
deleted by creator
You need a DNS proxy. They work perfectly fine for changing streaming location on AppleTV.
Edit: My bad. I was distracted and interpreted this as a local stream from a device in your home, like a Plex server. If you’re using a streaming service then Netflix or whoever sends through your vpn.
It’s local. Nothing is leaving your network. You would have to deliberately open a port on your router for it to get back in after going through the VPN. That’s how you can verify that it’s local.So does the website get my ip address, sorry?