Microsoft Teams which ports

Tell me about it. I have to deal with all kinds of trouble once microsoft is needed. Microsoft is absolute junk in my opinion, but that is my opinion. That said I will have to make it work as that is required.

I can also google for the ports. In the end you get 65536 ports needed to be open if you google long enough. It is non sensical.

My question was directed to someone who is in the same situation as I and have to deal with getting Teams to work through IPFire securely and who done so successfully.
Not if I can or want to google. Dont trust the google port info. Makes little sense.