Please verify these settings (see the image below). These settings are only required on the Wi-Fi Direct P2P tunnel resident on the NIC created by Miracast.
Also, note that Port UDP 5353 should not be blocked, DNS (service discovery) must also be allowed.