Firewall Ports TCP/UDP FreePBX 17

For FreePBX 17, does anyone have a comprehensive list of default required firewall ports TCP/UDP, Inbound/Outbound for FreePBX external sip trunk calls to work correctly?

Does the RTP media ports need to be kept default? reason I ask is because I currently have a different SIP PBX system that I’m switching out from to FreePBX and for that system the RTP media port ranges are different. So since the firewall rules already exist for that and I’m keeping the IP of the systems the same, was thinking to keep the RTP media ports the same and possibly just change it in FreePBX configuration?

Thank you.