Raw Sosmed Mikrotik

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

/ip firewall raw

add action=add-dst-to-address-list address-list=Youtube address-list-timeout=\


1h chain=prerouting comment=Facebook content=.facebook.com \
dst-address-list=!ACC src-address-list=ACC
add action=add-dst-to-address-list address-list=Youtube address-list-timeout=\
1h chain=prerouting content=.fbcdn.net dst-address-list=!ACC \
src-address-list=ACC
add action=add-dst-to-address-list address-list=Youtube address-list-timeout=\
1h chain=prerouting content=fb.com dst-address-list=!ACC \
src-address-list=ACC
add action=add-dst-to-address-list address-list=Youtube address-list-timeout=\
1h chain=prerouting content=.facebook.net dst-address-list=!ACC \
src-address-list=ACC
add action=add-dst-to-address-list address-list=Youtube address-list-timeout=\
1h chain=prerouting content=fbstatic-a.akamaihd.net dst-address-list=!ACC \
src-address-list=ACC
add action=add-dst-to-address-list address-list=Youtube address-list-timeout=\
1h chain=prerouting content=.fbsbx.com dst-address-list=!ACC \
src-address-list=ACC
add action=add-dst-to-address-list address-list=Youtube address-list-timeout=\
1h chain=prerouting content=akamaihd.net dst-address-list=!ACC \
src-address-list=ACC
add action=add-dst-to-address-list address-list=Youtube address-list-timeout=\
1h chain=prerouting content=fbcdn-sphotos-a.akamaihd.net \
dst-address-list=!ACC src-address-list=ACC
add action=add-dst-to-address-list address-list=Youtube address-list-timeout=\
1h chain=prerouting comment=Instagram content=.cdninstagram.com \
dst-address-list=!ACC src-address-list=ACC
add action=add-dst-to-address-list address-list=Youtube address-list-timeout=\
1h chain=prerouting content=.instagram.com dst-address-list=!ACC \
src-address-list=ACC
add action=add-dst-to-address-list address-list=Youtube address-list-timeout=\
1h chain=prerouting comment=Youtube content=.googlevideo.com \
dst-address-list=!ACC src-address-list=ACC
add action=add-dst-to-address-list address-list=Youtube address-list-timeout=\
1h chain=prerouting content=.youtube.com dst-address-list=!ACC \
src-address-list=ACC
add action=add-dst-to-address-list address-list=Youtube address-list-timeout=\
1h chain=prerouting content=.ytimg.com dst-address-list=!ACC \
src-address-list=ACC
add action=add-dst-to-address-list address-list=Youtube address-list-timeout=\
1h chain=prerouting comment=Tiktok content=.tiktokv.com dst-address-list=\
!ACC src-address-list=ACC
add action=add-dst-to-address-list address-list=Youtube address-list-timeout=\
1h chain=prerouting content=.tiktokcdn.com dst-address-list=!ACC \
src-address-list=ACC
add action=add-dst-to-address-list address-list=Youtube address-list-timeout=\
1h chain=prerouting content=.musical.ly dst-address-list=!ACC \
src-address-list=ACC
add action=add-dst-to-address-list address-list=Youtube address-list-timeout=\
1h chain=prerouting comment="Likee Videoo" content=likee.video \
dst-address-list=!ACC src-address-list=ACC
add action=add-dst-to-address-list address-list=Youtube address-list-timeout=\
1h chain=prerouting content=like.video dst-address-list=!ACC \
src-address-list=ACC
add action=add-dst-to-address-list address-list=Youtube address-list-timeout=\
1h chain=prerouting comment=Twitter content=.twitter.com \
dst-address-list=!ACC src-address-list=ACC
add action=add-dst-to-address-list address-list=Youtube address-list-timeout=\
1h chain=prerouting content=.twimg.com dst-address-list=!ACC \
src-address-list=ACC
add action=add-dst-to-address-list address-list=Youtube address-list-timeout=\
1h chain=prerouting comment=Telegram content=.telegram.org \
dst-address-list=!ACC src-address-list=ACC
add action=add-dst-to-address-list address-list=Youtube address-list-timeout=\
1h chain=prerouting content=.telegram.me dst-address-list=!ACC \
src-address-list=ACC

/ip firewall mangle


add action=mark-routing chain=prerouting comment="Youtube, IG, FB" disabled=\
yes dst-address=!192.168.0.0/16 dst-address-list=Youtube dst-port=\
80,443,8000-8081,21,22,23,81,88,5050,843,182,8777,1935,53 \
new-routing-mark="Kecuali Link ID" passthrough=no protocol=tcp \
src-address-list=ACC time=0s-1d,sun,mon,tue,wed,thu,fri,sat
add action=mark-routing chain=prerouting disabled=yes dst-address=\
!192.168.0.0/16 dst-address-list=Youtube dst-port=\
80,443,8000-8081,21,22,23,81,88,5050,843,182,8777,1935,53 \
new-routing-mark="Kecuali Link ID" passthrough=no protocol=udp \
src-address-list=ACC time=0s-1d,sun,mon,tue,wed,thu,fri,sat

/ip route
add check-gateway=ping disabled=yes distance=2 gateway=192.168.24.1 routing-mark=\
"Kecuali Link ID" target-scope=30

You might also like