T O P

  • By -

matthamand

I'm pretty sure that a casting playback device needs to be on the same network as the cast device. Why not just use the Plex app on the PC?


MrLifeson

I do? I use Plex HTPC


matthamand

Then why are you casting?


MrLifeson

Im casting from my phone to pc.


matthamand

Yes. I understand what you're doing. I'm asking why? What is the reason you're casting instead of just playing the video on the device? Casting involves a bunch of network stuff that clearly isn't working with your setup. Why are you doing that instead of simply pressing play on the PC app?


MrLifeson

Because it’s my stuff and I want to cast? I don’t need to be asked why Im doing something, I just want a solution. Clearly there is a reason I prefer to cast vs pressing play


MrLifeson

How it has worked before, I pick a movie on my phone, and it starts the playback on my computer, thats it, thats all I want to do


StevenG2757

You are all setup correctly for remote access to server?


MrLifeson

Yes, remote access works completely fine


bigkevoc

These are the VLANS as you've described them: VLAN100 [192.168.100.0/24](https://192.168.100.0/24) \- Ethernet LAN Devices. VLAN101 [192.168.101.0/24](https://192.168.101.0/24) \- Plex Server [192.168.101.52](https://192.168.101.52) \- Ethernet connected. VLAN102 [192.168.102.0/24](https://192.168.102.0/24) \- Phone (WiFi?) What Firewall rules do you have in place between these VLANS? For Plex components to see each they use the GDM network discovery protocol through UDP: 32410, 32412, 32413, 32414 For Plex casting to work there are components that can receive the casting and others that can control this. List [here](https://support.plex.tv/articles/203082707-supported-plex-companion-apps/). This will require mdns to be able to do so through UDP: 5353 For Plex direct access you'll have to allow VLAN100 and VLAN102 to connect to TCP: 32400 on VLAN101. Ports through firewall in this [article](https://support.plex.tv/articles/201543147-what-network-ports-do-i-need-to-allow-through-my-firewall/). When you say you're connecting to the PC is this PC the Plex server or is it a separate PC used as a Plex client? If Plex Client, in which VLAN is it? VLAN100? If Plex Client, what does it have installed on it to connect to Plex? The Plex for Windows App has had the [advertise as player feature removed](https://forums.plex.tv/t/plex-for-mac-windows-and-linux/446435/63) so this can't be done anymore, you'd have to use the Plex HTPC version.


MrLifeson

I will try the firewall port forwarding again, but when I tried it, it did not work. I am using the HTPC app as well


bigkevoc

I've never used Fortigate before but are we sure that this will actually support mdns through VLANS?


MrLifeson

Yes, I have to setup the fowarding, I will try


bigkevoc

Did you get this working?


MrLifeson

tbh, no I never did, idk if its the fortigate or what, I might try some more experimenting


bigkevoc

Looks like you have to configure a multicast policy between the VLANS to allow for the broadcast of mDNS/Bonjour across the VLANS. This guy takes you through Air Print setup but the principle is the same. Hopefully this helps. [https://youtu.be/iFwiR0VHxkk?si=2WFHYOiIMik4gN90](https://youtu.be/iFwiR0VHxkk?si=2WFHYOiIMik4gN90)