Skip to content
Contents
GuidesOpenWrt

Fix AirPlay across OpenWrt VLANs by testing discovery and playback

When phone and TV are on the same network, screen mirroring works. When they're on different subnets, discovery fails. Prioritize service discovery.

When phone and TV are on the same network, screen mirroring works. When they're on different subnets, discovery fails. Prioritize service discovery. mDNS and SSDP use different multicast mechanisms; use the one actually supported by the device. After successful discovery, the application must connect to the corresponding device.

Only reflect the two authorized subnets

Select a reflector or proxy that supports the relevant discovery protocol, with interfaces restricted to trusted control and media IoT networks. The firewall opens only services required for connections. Visitor, management, and unrelated VLANs are managed with independent policies.

First confirm that the discovery packet has crossed zones, then check playback

Use a player and a TV, first verifying discovery and actual playback within the same subnet, then extend the test to two separate VLANs. Test required mDNS or SSDP relay and service port functionality.

First check if the service appears in the list, then click and verify playback. Compare against the untrusted network segment. Monitor packet volume when device multicast is frequent. After changing the subnet, restore original configuration and investigate the entry point.

If packets are detected but not forwarded, continue to investigate media stream permissions. The management network does not need to receive these broadcasts; instead, select a specific interface and retest the isolation.

Reference

Reference screenshot · Multicast DNS
Reference screenshot · Multicast DNS
Reference screenshot · Multicast DNS Open the original image

IETF RFC 6762 · IETF Trust Legal Provisions © IETF Trust and the RFC authors.

Related guides

Reference

Check the model, region and hardware revision on the label before selecting firmware.

Explore hardware

Comments