Everything can do it :p

Blog

Category: mikrotik

Block Whatsapp dan BBM di Mikrotik

Posted by in mikrotik on

Halo…
Selamat sehat, kali ini saya mau membagi tips berhubung ada temen yang minta buat setinagn kantor nya.
Wifi mau di akses hanya buat whatsapp sama bbm, setelah ngutak ngatik cari IP CIDR kedua aplikasi itu akhirnya ketemu,
ni sekalian mau share aja ya, berbagi ilmu ga bakal ngurangin ilmu mu…

==================================================
List IP BBM
==================================================
/ip firewall address-list

******kopi paste kanu new terminal********

add address=206.51.26.0/24 disabled=no list=bbm
add address=193.109.81.0/24 disabled=no list=bbm
add address=204.187.87.0/24 disabled=no list=bbm
add address=206.53.144.0/20 disabled=no list=bbm
add address=216.9.240.0/20 disabled=no list=bbm
add address=67.223.64.0/19 disabled=no list=bbm
add address=93.186.16.0/21 disabled=no list=bbm
add address=208.65.72.0/21 disabled=no list=bbm
add address=68.171.224.0/19 disabled=no list=bbm
add address=74.82.64.0/19 disabled=no list=bbm
add address=173.247.32.0/19 disabled=no list=bbm
add address=178.239.80.0/20 disabled=no list=bbm

===================================================
List IP Whatsapp
===================================================
http://www.whatsapp.com/cidr.txt

/ip firewall address-list

******kopi paste kanu new terminal********

add address=31.13.64.51/32 disabled=no list=whatsapp
add address=31.13.65.49/32 disabled=no list=whatsapp
saruakeun
31.13.66.49/32
31.13.67.51/32
31.13.69.240/32
31.13.70.49/32
31.13.71.49/32
31.13.72.52/32
31.13.73.49/32
31.13.74.49/32
31.13.75.52/32
31.13.76.81/32
31.13.77.49/32
31.13.79.195/32
31.13.80.53/32
31.13.81.53/32
31.13.82.51/32
31.13.83.51/32
31.13.84.51/32
31.13.85.51/32
31.13.86.51/32
31.13.87.51/32
31.13.88.49/32
31.13.88.57/32
31.13.90.51/32
31.13.91.51/32
31.13.92.52/32
31.13.93.51/32
31.13.95.63/32
50.22.75.192/27
50.22.93.192/27
50.22.198.204/30
50.22.210.32/30
50.22.210.128/27
50.22.225.64/27
50.22.235.248/30
50.22.240.160/27
50.23.90.128/27
50.97.57.128/27
75.126.39.32/27
108.168.174.0/27
108.168.176.192/26
108.168.177.0/27
108.168.180.96/27
108.168.254.65/32
108.168.255.224/32
108.168.255.227/32
158.85.0.96/27
158.85.5.192/27
158.85.46.128/27
158.85.48.224/27
158.85.58.0/25
158.85.61.192/27
158.85.224.160/27
158.85.233.32/27
158.85.249.128/27
158.85.249.224/27
158.85.254.64/27
169.53.29.128/27
169.53.71.224/27
169.53.250.128/26
169.54.2.160/27
169.54.51.32/27
169.54.55.192/27
169.54.210.0/27
169.54.222.128/27
169.55.69.128/26
169.55.74.32/27
169.55.235.160/27
173.192.162.32/27
173.192.219.128/27
173.192.222.160/27
173.192.231.32/27
173.193.205.0/27
173.193.230.96/27
173.193.230.128/27
173.193.230.192/27
173.193.239.0/27
174.36.208.128/27
174.36.210.32/27
174.36.251.192/27
174.37.199.192/27
174.37.215.28/30
174.37.217.64/27
174.37.231.64/27
174.37.243.64/27
174.37.251.0/27
179.60.192.51/32
179.60.193.51/32
179.60.195.51/32
184.173.73.176/28
184.173.136.64/27
184.173.147.32/27
184.173.161.64/32
184.173.161.160/27
184.173.173.116/32
184.173.179.32/27
184.173.195.32/27
184.173.201.32/27
184.173.204.32/27
184.173.250.53/32
192.155.212.192/27
198.11.193.182/31
198.11.212.0/27
198.11.217.192/27
198.11.251.32/27
198.23.80.0/27
198.23.86.224/27
198.23.87.64/27
208.43.115.192/27
208.43.117.79/32
208.43.117.136/32
208.43.122.128/27

****** rek ditambahkeun rek moal ge bebas IPv6 *********
2607:f0d0:1301:17d::/64
2607:f0d0:1b01:d4::/64
2607:f0d0:1b02:14d::/64
2607:f0d0:3003:1bc::/64
2607:f0d0:3004:136::/64
2607:f0d0:3004:174::/64
2607:f0d0:3005:183::/64
2607:f0d0:3006:84::/64
2607:f0d0:3006:af::/64
2607:f0d0:3801:38::/64
2a03:2880:f000:d:face:b00c::167/128
2a03:2880:f001:d:face:b00c::167/128
2a03:2880:f002:10f:face:b00c::167/128
2a03:2880:f003:c0d:face:b00c::167/128
2a03:2880:f004:11:face:b00c::167/128
2a03:2880:f005:11:face:b00c::167/128
2a03:2880:f006:11:face:b00c::167/128
2a03:2880:f007:11:face:b00c::167/128
2a03:2880:f008:11:face:b00c::167/128
2a03:2880:f009:11:face:b00c::167/128
2a03:2880:f00a:12:face:b00c::167/128
2a03:2880:f00b:d:face:b00c::167/128
2a03:2880:f00c:12:face:b00c::167/128
2a03:2880:f00d:d:face:b00c::167/128
2a03:2880:f00e:12:face:b00c::167/128
2a03:2880:f00f:11:face:b00c::167/128
2a03:2880:f011:d:face:b00c::167/128
2a03:2880:f012:d:face:b00c::167/128
2a03:2880:f013:d:face:b00c::167/128
2a03:2880:f014:11:face:b00c::167/128
2a03:2880:f016:13:face:b00c::167/128
2a03:2880:f017:11:face:b00c::167/128
2a03:2880:f018:f:face:b00c::167/128
2a03:2880:f018:10e:face:b00c::167/128
2a03:2880:f019:11:face:b00c::167/128
2a03:2880:f01a:11:face:b00c::167/128
2a03:2880:f01b:11:face:b00c::167/128
2a03:2880:f01c:11:face:b00c::167/128
2a03:2880:f01c:215:face:b00c::167/128
2a03:2880:f01f:11:face:b00c::167/128
2a03:2880:f021:11:face:b00c::167/128
2a03:2880:f022:d:face:b00c::167/128

=========================================
RULE FIREWALL
=========================================

/ip firewall filter

****sesuai urutan kopi paste na*****

add action=accept chain=forward comment=”Accept BBM” dst-address-list=bbm
***lamun hayang segmen IP tertentu nu di block na***
add action=accept chain=forward comment=”Accept BBM” dst-address-list=bbm src-address=IP-LOKAL-Nu-di-block

add action=accept chain=forward comment=”Accept Whatsapp” dst-address-list=whatsapp

***lamun hayang di block kabeh segmen IP lokal****
add action=drop chain=forward comment=”Block Akses internet” src-address=IP LOKAL

Script Auto Mikrotik

Posted by in mikrotik on

Beberapa Script Auto Mikrotik untuk membuat Queue, User Hotspot, Limit Bandwidth di beberapa versi Mikrotik.
Caranya tinggal masukan script tersebut dengan sedikit modifikasi pada IP.

Winbox Mikrotik – System – Script

/ System Script

Add Queue List address

:for e from 1 to 255 do={
/queue simple add name=”user $e” target-addresses=”192.168.1.$e”max-limit=384000/384000
}

atau

:for e from 1 to 254 do={
/queue simple add name=”User $e” target-addresses=”192.168.11.$e” max-limit=256000/256000 parent=”Bandwidth Total”
}

Mikrotik 450G

:for x from=2 to=254 do={ / queue simple add name=”User.$x” target=”10.26.80.$x” max-limit=512k/1024k parent=”Bandwidth Total” burst-limit=1024k/2048k burst-threshold=512k/1024k burst-time=8s/8s }

==================================================================

Add User Hotspot

:for i from 1 to 255 do={
/ip hotspot user add name=”user$i” password=”password$i” profile=”hsprof1″
}

==================================================================

Mikrotik V6.X

:for x from=2 to=254 do={ / queue simple add name=”192.168.1.$x” target=”192.168.1.$x” max-limit=1M/1M parent=”Bandwidth Total” burst-time=”1/1″ time=”12:00:00-17:59:59,sun,mon,tue,wed,thu,fri,sat”}

Tweets