How to configure the firewall for Battlefield 2?


I have tried to configure the firewall ( Very little knowlege how to lol), so it allows me to play Battlefield 2 on line. I have told the fw, what parent(s) there are etc. But it wont allow me to connect to the BF2 server. The only way is to shut down the fw. And that is not a good option of coarce.

Anyone who can help me here?

I can’t even play offline anymore. Everything else (even P2P) works fine.