Blokir Situs Youtube, facebook, twitter HTTPS di Jam Tertentu dan Berdasarkan Src-Address List di Mikrotik

/ip firewall layer7-protocol
add name=fb_blok regexp=facebook.com
add name=youtube_blok regexp=youtube.com
add name=twitter_blok regexp=twitter.com

/ip firewall mangle
add action=mark-packet chain=prerouting comment=Facebook layer7-protocol=\
    fb_blok new-packet-mark=fb_blok passthrough=no
add action=mark-packet chain=prerouting comment=Twitter layer7-protocol=\
    twitter_blok new-packet-mark=twitter_blok passthrough=no
add action=mark-packet chain=prerouting comment=Youtube layer7-protocol=\
    youtube_blok new-packet-mark=youtube_blok passthrough=no

/ip firewall filter
add action=jump chain=forward comment=FACEBOOK jump-target=fb_blok packet-mark=fb_blok
add action=drop chain=fb_blok dst-address-list=!boleh src-address-list=!boleh time=0s-14h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=jump chain=forward comment=TWITTER jump-target=twitter packet-mark=twitter_blok
add action=drop chain=twitter dst-address-list=!boleh src-address-list=!boleh time=0s-14h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=jump chain=forward comment=YOUTUBE jump-target=youtube layer7-protocol=youtube_blok packet-mark=youtube_blok
add action=drop chain=youtube dst-address-list=!boleh src-address-list=!boleh time=0s-14h59m59s,sun,mon,tue,wed,thu,fri,sat

/ip firewall address-list
add address=192.168.65.26 comment="" list=boleh
add address=192.168.65.28 comment="" list=boleh

0 Response to "Blokir Situs Youtube, facebook, twitter HTTPS di Jam Tertentu dan Berdasarkan Src-Address List di Mikrotik "

Post a Comment