How to block internet access by mac filter on UCS?

Hi !
I am newby with UCS and I do my best in english too.
I need to block internet access for 30 computers on a domain network, except for two computers in the same domain network and also for Outlook sending and receiving mails.