Recently I have seen many queries about the ports required between TMG EMS server and its nodes. This information is required in scenarios most of the times if there is a firewall in between EMS server and TMG nodes, to open the ports required on the intermediate firewall.
The ports required are same as they were in case of ISA server CSS(Configuration Storage Server) and the nodes. Following fig provides the ports required for operation of ISA/TMG server in various scenarios
Please be aware that TMG needs ports 10000-65535 open for RPC communication between the EMS and the node!