Setting up firewall on nixos to enable multicast

Hi, I’m trying to set up obs-teleport to share screen from my laptop to pc(both run NixOS) but my laptop blocks outgoing multicast and my pc doesn’t want to receive any connection.
In my case teleport is running on port 8081 and on both my machines I have:
networking.firewall.allowedUDPPorts = [ 8081 ];
Does anyone know how to solve that?