Ports to open for IM gateway to work?

Hello, I installed IM gateway plugin in Openfire 3.5.2. But no connection for testing in admin console. On Client the MSN/YAHOO tool bar icons are grey. Are there any ports need to be open (firewall) for the gateway to work?



If you go to the admin panel and click on the gateway settings option you can find all the ports needed for each of the protocols by clicking their options (see attachment).