@The X:
If you need a complete firewall
http://vae.xs4all.nl/firewall.scriptThis is the one I use.
It closes all ports and opens the one you need/want.
You should check the parts:
'# TCP rules' and '# UDP ports'
I run 2 amule's (1 for releases) and start them with a restart script which changes ports.
This so I won't have a low ID 'cause my ports aren't free.
I also run a direct connect client, added ports for this as well.
You should delete those or uncomment them if you don't use direct connect.
If you use direct connect, make sure those are the ports you use. Change them otherwise.
The rest should be clear, web/ft/irc/ssh etc.