About

ads

Kamis, 27 Juli 2023

Menangkap IP Youtube, Sosmed Dan Google di Mikrotik

 Menangkap IP Youtube, Sosmed Dan Google di Mikrotik



Untuk menangkap IP Youtube, Sosmed dan Google dapat digunakan firewall raw seperti script dibawah ini. Dengan mengumpulkan ip tersebut kita dapat mengalokasikan bandwith sesuai kebutuhan di jaringan.

/ip firewall raw
add action=add-dst-to-address-list address-list=Youtube \
address-list-timeout=1h chain=prerouting comment=Youtube content=\
googlevideo. dst-address-list=!Network dst-port=80,443 protocol=tcp \
src-address-list=Network

add action=add-dst-to-address-list address-list=Youtube \
address-list-timeout=1h chain=prerouting content=youtube. \
dst-address-list=!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Youtube \
address-list-timeout=1h chain=prerouting content=ytimg. dst-address-list=\
!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Youtube \
address-list-timeout=1h chain=prerouting content=ggpht. dst-address-list=\
!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Youtube \
address-list-timeout=1h chain=prerouting content=googleapis. \
dst-address-list=!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Youtube \
address-list-timeout=1h chain=prerouting content=youtubeeducation. \
dst-address-list=!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Youtube \
address-list-timeout=1h chain=prerouting content=youtube-ui. \
dst-address-list=!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Youtube \
address-list-timeout=1h chain=prerouting content=youtube-nocookie. \
dst-address-list=!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Youtube \
address-list-timeout=1h chain=prerouting content=youtu. dst-address-list=\
!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Youtube \
address-list-timeout=1h chain=prerouting content=gvt1. dst-address-list=\
!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Youtube \
address-list-timeout=1h chain=prerouting content=yt. dst-address-list=\
!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Youtube \
address-list-timeout=1h chain=prerouting content=youtubekids. \
dst-address-list=!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting comment=Facebook content=facebook. dst-address-list=\
!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting content=fbcdn. dst-address-list=!Network dst-port=80,443 \
protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting content=fb. dst-address-list=!Network dst-port=80,443 \
protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting content=fbsbx. dst-address-list=!Network dst-port=80,443 \
protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting content=Networkountkit. dst-address-list=!Network dst-port=\
80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting content=akamaihd. dst-address-list=!Network dst-port=\
80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting content=tfbnw. dst-address-list=!Network dst-port=80,443 \
protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting content=appspot. dst-address-list=!Network dst-port=\
80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting content=wechat. dst-address-list=!Network dst-port=80,443 \
protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting content=fbsbx. dst-address-list=!Network dst-port=80,443 \
protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting content=fburl. dst-address-list=!Network dst-port=80,443 \
protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting content=edgesuite. dst-address-list=!Network dst-port=\
80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting content=edgekey. dst-address-list=!Network dst-port=\
80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting content=messenger. dst-address-list=!Network dst-port=\
80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting content=msngr. dst-address-list=!Network dst-port=80,443 \
protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting content=thefacebook. dst-address-list=!Network dst-port=\
80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting comment=Instagram content=cdninstagram. \
dst-address-list=!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting content=instagram. dst-address-list=!Network dst-port=\
80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting content=ig. dst-address-list=!Network dst-port=80,443 \
protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting comment=Twitter content=twitter. dst-address-list=\
!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting content=twimg. dst-address-list=!Network dst-port=80,443 \
protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting content=twttr. dst-address-list=!Network dst-port=80,443 \
protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting comment=Tiktok content=tiktokv. disabled=yes \
dst-address-list=!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting content=tiktokcdn. disabled=yes dst-address-list=!Network \
dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting content=tiktokcdn-in. disabled=yes dst-address-list=\
!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Medsos address-list-timeout=\
1h chain=prerouting content=ttoversea. disabled=yes dst-address-list=!Network \
dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Google address-list-timeout=\
1h chain=prerouting comment="Play Store" content=play.google. disabled=\
yes dst-address-list=!Network dst-port=80,443 protocol=tcp src-address-list=\
Network

add action=add-dst-to-address-list address-list=Google address-list-timeout=\
1h chain=prerouting content=play.googleapis. disabled=yes \
dst-address-list=!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Google address-list-timeout=\
1h chain=prerouting content=android.clients.google. disabled=yes \
dst-address-list=!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Google address-list-timeout=\
1h chain=prerouting content=play-fe.googleapis. disabled=yes \
dst-address-list=!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Google address-list-timeout=\
1h chain=prerouting content=play-lh.googleusercontent. disabled=yes \
dst-address-list=!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Google address-list-timeout=\
1h chain=prerouting content=googleusercontent. disabled=yes \
dst-address-list=!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Google address-list-timeout=\
1h chain=prerouting comment=Microsoft content=microsoft. disabled=yes \
dst-address-list=!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Google address-list-timeout=\
1h chain=prerouting content=windows. disabled=yes dst-address-list=!Network \
dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Google address-list-timeout=\
1h chain=prerouting content=windowsupdate. disabled=yes dst-address-list=\
!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Google address-list-timeout=\
1h chain=prerouting content=azurewebsites. disabled=yes dst-address-list=\
!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Google address-list-timeout=\
1h chain=prerouting content=azure-mobile. disabled=yes dst-address-list=\
!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Google address-list-timeout=\
1h chain=prerouting content=cloudapp. disabled=yes dst-address-list=!Network \
dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Google address-list-timeout=\
1h chain=prerouting content=microsoftproductionstudios. disabled=yes \
dst-address-list=!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Google address-list-timeout=\
1h chain=prerouting comment=Google content=google. disabled=yes \
dst-address-list=!Network dst-port=80,443 protocol=tcp src-address-list=Network

add action=add-dst-to-address-list address-list=Google address-list-timeout=\
1h chain=prerouting content=googleusercontent. disabled=yes \
dst-address-list=!Network dst-port=80,443 protocol=tcp src-address-list=Network

-----------------------------------------------------------------------------------

Catatan :

Network adalah merupakan ip local di jaringan kita, sering juga disebut juga disebut ip private.

192.168.0.0/16
172.16.0.0/12
10.0.0.0/8

0 comments:

Posting Komentar