Hi ;
here are what i am doing to limit the speed of youtube and metacafe .
first don't try to block these web sites as you are going to block google as well .
and for that i made browsing these web sites faster than the watching movies .
for browsing i am using 80kbps and for watching i am using 56kbps , you could use the speed suit you .
first in mangle to mark the upload of your local network :
/ip firewall mangle
add action=mark-connection chain=prerouting comment="marking total upload" disabled=no in-interface=bridge1 new-connection-mark="upload" passthrough=\
yes src-address=192.168.x.0/24
and then to mark the upload to youtube , google and metacafe :
/ip firewall mangle
add action=mark-connection chain=prerouting comment="download youtube & metacafe movies" connection-bytes=200000-0 connection-mark="upload" disabled=no \
dst-address=208.65.0.0/16 dst-port=80 in-interface=bridge1 new-connection-mark=youtube passthrough=yes protocol=tcp src-address=192.168.x.0/24 \
src-port=1024-65535
add action=mark-connection chain=prerouting comment="" connection-bytes=200000-0 connection-mark="upload" disabled=no dst-address=208.117.0.0/16 \
dst-port=80 in-interface=bridge1 new-connection-mark=youtube passthrough=yes protocol=tcp src-address=192.168.x.0/24 src-port=1024-65535
add action=mark-connection chain=prerouting comment="" connection-bytes=200000-0 connection-mark="upload" disabled=no dst-address=64.15.0.0/16 \
dst-port=80 in-interface=bridge1 new-connection-mark=youtube passthrough=yes protocol=tcp src-address=192.168.x.0/24 src-port=1024-65353
add action=mark-connection chain=prerouting comment="" connection-bytes=200000-0 connection-mark="upload" disabled=no dst-address=74.125.0.0/16 \
dst-port=80 in-interface=bridge1 new-connection-mark=youtube passthrough=yes protocol=tcp src-address=192.168.x.0/24 src-port=1024-65535
add action=mark-connection chain=prerouting comment="" connection-bytes=200000-0 connection-mark="upload" disabled=no dst-address=213.155.0.0/16 \
dst-port=80 in-interface=bridge1 new-connection-mark=youtube passthrough=yes protocol=tcp src-address=192.168.x.0/24 src-port=1024-65535
add action=mark-connection chain=prerouting comment="" connection-bytes=200000-0 connection-mark="upload" disabled=no dst-address=213.155.0.0/16 \
dst-port=80 in-interface=bridge1 new-connection-mark=youtube passthrough=yes protocol=tcp src-address=192.168.x.0/24 src-port=1024-65535
add action=mark-connection chain=prerouting comment="browse youtube & metacafe" connection-bytes=0-200000 connection-mark="upload" disabled=no \
dst-address=208.65.0.0/16 dst-port=80 in-interface=bridge1 new-connection-mark=youtubea passthrough=yes protocol=tcp src-address=192.168.x.0/24 \
src-port=1024-65535
add action=mark-connection chain=prerouting comment="" connection-bytes=0-200000 connection-mark="upload" disabled=no dst-address=208.117.0.0/16 \
dst-port=80 in-interface=bridge1 new-connection-mark=youtubea passthrough=yes protocol=tcp src-address=192.168.x.0/24 src-port=1024-65535
add action=mark-connection chain=prerouting comment="" connection-bytes=0-200000 connection-mark="upload" disabled=no dst-address=64.15.0.0/16 \
dst-port=80 in-interface=bridge1 new-connection-mark=youtubea passthrough=yes protocol=tcp src-address=192.168.x.0/24 src-port=1024-65535
add action=mark-connection chain=prerouting comment="" connection-bytes=0-200000 connection-mark="upload" disabled=no dst-address=74.125.0.0/16 \
dst-port=80 in-interface=bridge1 new-connection-mark=youtubea passthrough=yes protocol=tcp src-address=192.168.x.0/24 src-port=1024-65535
add action=mark-connection chain=prerouting comment="" connection-bytes=0-200000 connection-mark="upload" disabled=no dst-address=213.155.0.0/16 \
dst-port=80 in-interface=bridge1 new-connection-mark=youtubea passthrough=yes protocol=tcp src-address=192.168.x.0/24 src-port=1024-65535
add action=mark-connection chain=prerouting comment="" connection-bytes=0-200000 connection-mark="upload" disabled=no dst-address=213.155.0.0/16 \
dst-port=80 in-interface=bridge1 new-connection-mark=youtubea passthrough=yes protocol=tcp src-address=192.168.x.0/24 src-port=1024-65535
then to mark the coming traffic of these sites :
/ip firewall mangle
add action=mark-packet chain=postrouting comment="youtube download traffic" connection-mark=youtube disabled=no dst-address=192.168.x.0/24 new-packet-mark=\
youtube out-interface=bridge1 passthrough=no
add action=mark-packet chain=postrouting comment="youtube browsing traffic" connection-mark=youtubea disabled=no dst-address=192.168.x.0/24 new-packet-mark=youtubea out-interface=\
bridge1 passthrough=no
in my case i am using bridge1 to my local network , so you should change it to be the ether of your local network with the ip's of the local network .
now you have the packets of the traffic coming from these web site , so you could use queue tree to limit the speed of it .
with best regards .