How to Block Youtube,Yahoo,Team View ,Port Scanner Using Mikrotik Firewall Rules COnfiguration

How to Block Youtube Video Using Mikrotik Firewall Rules Configuration
Youtube is the great media for us in today ,sometime we need to block youtube access in our client.Now we see that how to block youtube using Layer 7 regexp.

/ip firewall layer7-protocols
add name=Block Youtube regexp=
 /ip firewall filter
 add   chain=forward action=drop layer7-protocol=Block Youtube comment=Block Youtube

How to Block Team View Using Mikrotik Firewall Rules Configuration
/ip firewall filter
    add chain=forward action=add-dst-to-address-list protocol=tcp 
     address-list=Team View address-list-timeout=1d dst-port=5938 

/ip firewall filter
  add   chain=forward action=drop src-address-list=Team View 
/ip firewall filter
 add    chain=forward action=drop dst-address-list=Team View 

How to Block Port Scanner Attack Using Mikrotik Firewall Rules Configuration

/ip firewall filter
  add   chain=input action=add-src-to-address-list protocol=tcp psd=21,3s,3,1 
     address-list=Block_port_Scanner address-list-timeout=0s 

How to Block Yahoo Using Mikrotik Firewall Rules Configuration

/ip firewall filter
     chain=forward action=drop protocol=tcp content=yahoo