Microsoft has published the following white paper with regards to connectivity and firewall ports user by Dynamics CRM 2013. It is available for download HERE.

The one for the previous version (Dynamics CRM 2011) is also available HERE.

And for version 4.0, the information is available on the Developer Network HERE.

There, all in one spot.