later edit: Problem solved. It is working, but it seems yahoo messenger needed to be restarted

or yahoo servers had some problems.
Good day
I am trying to block every outbound connections, but a few.
In those "few" I have to include Yahoo messenger, which I understand uses the following ports:
TCP/5050
TCP/5000
TCP/5001
TCP/5100
TCP/5101
TCP/5150
UDP/5000:5010
I have added the rule in the "Outgoing firewall configuration" but still, yahoo cannot connect outbound.
"GREEN>RED allow the above ports"
Am I missing something?
Any help appreciated