Which ports and protocols for auto discovery and device functionality?

I have just started with home assistent and I’m working through my list of basic things that need to run before I can start actually automating.

I’m a network security concerned person. To enusre that a hacked untrusted camera cannot be used as bridge to overtake my home assistant and turn it into an spam relay I have VLANs for trusted and untrusted (cloud dependent) smart home devices and all data is routed inbetween the VLANs.

Since home assistant is doing a lot of auto discovery and auto configuration of devices I now need to know which protocols and ports are used for that so I can setup the routing and firewall rules accordingly.

Is there a list somewhere? I’m pretty sure I’m not the only security concerned IT person in this community.