Hi Ahmed Essam,
Thank you for posting your question in the Microsoft Q&A forum.
In general, it’s not supported to restrict or alter network traffic between internal Exchange servers, or between internal Exchange servers and DCs in any and all types of topologies.
Microsoft does not suggest having any network or port limitation for Exchange servers and DCs.
Here is the article for your reference:
Network ports for clients and mail flow in Exchange | Microsoft Learn
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.