Memblokir Online Shop di Mikrotik dengan Layer7

Hay Sobat kaliini saya akan berbagi tutorial mengenai cara blokir online shop dengan layer7 pada mikrotik dan langsung saja kita menuju ke langkah - langkahnya kita langsung saja copy code dibawah ini:
/ip firewall layer7-protocol
add name=Online-Shop regexp="^.+(agoda.com|traveloka.com|pegipegi.com|lazada.co.id|akulaku.com|elevenia.co.id|blibli.com|tokopedia.com|lazada.co.id|jd.id|bukalapak.com|9to9online.co.id|bhinneka.com|olx.co.id|mataharimall.com|zalora.co.id|blanja.com|indomaret.co.id|ilotte.com|carrefour.co.id|hemat.id|klikindomaret.com|hargapromosi.com|happyfresh.id|katalogpromosi.com|ranchmarket.co.id|superindo.co.id|alfamidiku.com|alfamartku.com|shopee.sg|shopee.co.id|lottemart.co.id|jakmall.com|shopee).*$"

/ip firewall mangle
add action=mark-connection chain=prerouting comment="Drop Resolve Online-Shop" \
    dst-port=53 layer7-protocol=Online-Shop new-connection-mark=Online-Shop.c \
    passthrough=yes protocol=udp
add action=mark-packet chain=prerouting connection-mark=Online-Shop.c \
    new-packet-mark=drop-Online-Shop.p passthrough=no

/ip firewall filter
add action=drop chain=forward comment="Drop Resolve Online-Shop" packet-mark=\
    drop-Online-Shop.p
add action=drop chain=input packet-mark=drop-Online-Shop.p


Sekian tutorial dari saya semoga bermanfaat.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 komentar:

Post a Comment