Block ALL traffic with whitelist

I’ve installed the lastest version of COMODO Firewall… and i triying configure it for:

  • Block ALL traffic except… for example…
    • Network Share with a particular ip
    • Windows Update
    • Software for backups online
    • Port 3389 (RDP) for some local ips

Rest of all traffic (in/out, in lan and wan) should be blocked… in other words, i need work with whitelist…

How should I configure it then?

Thanks you.

Regards, …