Blokir Akses ke YouTube pada Jam Sekolah

Berikut rules firewall pada mikrotik untuk memblokir akses HTTPS ke youtube, twitter, dan facebook

firewall.rsc
# aug/28/2016 21:58:03 by RouterOS 6.29.1
# software id = RY6M-0II7
#
/ip firewall layer7-protocol
add name="block https" regexp="^.+(youtube.com|youtu.be|twitter.com|facebook.com).*\$"
/ip firewall filter
#add action=passthrough chain=unused-hs-chain comment=\
#    "place hotspot rules here" disabled=yes
#add chain=input protocol=tcp src-address=0.0.0.0
# inactive time
add action=drop chain=forward comment=block-youtube layer7-protocol=\
    "block https" log=yes log-prefix="siswa-yutuban: " psd=21,3s,3,1 \
    src-address=10.5.50.0/24 time=7h7m-15h,mon,tue,wed,thu,fri,sat
#/ip firewall nat
#add action=passthrough chain=unused-hs-chain comment=\
#    "place hotspot rules here" disabled=yes
#add action=masquerade chain=srcnat comment="masquerade hotspot network" \
#    src-address=10.5.50.0/24
#add action=masquerade chain=srcnat out-interface=ether1

Referensi