Sunday 13 July 2014

Layer 7 Mikrotik Google Play Store


Seiring meningkatnya pengguna android di jaringan hotspot, maka dari itu semakin banyak pula yang mengakses atau mendownload di Google Play Store. Cara efektif melimit bandwith masing-masing menggunakan extention file yaitu layer7 mikrotik, dan berikut layer7 mikrotik buat Google Play Store :

/ip firewall layer7-protocol
add name=IPA regexp="\\.(ipa)"
add name=IPSW regexp="\\.(ipsw)"
add name=APK regexp="^.*get.+\\.apk.*\$"
add comment="PLAY STORE" name="Google Play Store" regexp=\
    "^.+.c.android.clients.google.com.*\$"

/ip firewall mangle
add action=mark-connection chain=forward comment=APK connection-mark=!Game \
    disabled=no layer7-protocol=APK new-connection-mark=APK packet-mark=\
    !Game_pkt passthrough=yes
add action=mark-packet chain=forward connection-mark=APK disabled=no \
    new-packet-mark=APK passthrough=no
add action=mark-connection chain=forward comment=IPA connection-mark=!Game \
    disabled=no layer7-protocol=IPA new-connection-mark=IPA packet-mark=\
    !Game_pkt passthrough=yes
add action=mark-packet chain=forward connection-mark=IPA disabled=no \
    new-packet-mark=IPA passthrough=no
add action=mark-connection chain=forward comment=IPSW connection-mark=!Game \
    disabled=no layer7-protocol=IPSW new-connection-mark=IPSW packet-mark=\
    !Game_pkt passthrough=yes
add action=mark-packet chain=forward connection-mark=IPSW disabled=no \
    new-packet-mark=IPSW passthrough=no
add action=mark-connection chain=forward connection-mark=!Game disabled=no \
    layer7-protocol="Google Play Store" new-connection-mark="PLAY STORE" \
    packet-mark=!Game_pkt passthrough=yes
add action=mark-packet chain=forward connection-mark="PLAY STORE" disabled=no \
    new-packet-mark="PLAY STORE" passthrough=no
  
/queue type  
add kind=pcq name=que-down pcq-burst-rate=1M pcq-burst-threshold=256k \
    pcq-burst-time=30s pcq-classifier=dst-address pcq-dst-address-mask=32 \
    pcq-dst-address6-mask=64 pcq-limit=50 pcq-rate=384k pcq-src-address-mask=\
    32 pcq-src-address6-mask=64 pcq-total-limit=2000  
  
/queue tree      
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
    max-limit=1M name=ANDROID packet-mark="" parent=V.DOWNLOAD priority=6
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=50k \
    max-limit=1M name=APEKA packet-mark=APK parent=ANDROID priority=6 queue=\
    que-down
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=186k \
    max-limit=1M name=IPESWE packet-mark=IPSW parent=ANDROID priority=8 queue=\
    que-down
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=50k \
    max-limit=756k name=IPS packet-mark=IPA parent=ANDROID priority=8 queue=\
    que-down
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=50k \
    max-limit=1M name="PLAY STORE" packet-mark="PLAY STORE" parent=ANDROID \
    priority=6 queue=que-down





Artikel Terkait:

Share This
Subscribe Here

6 comments:

Idham on Tuesday 21 October 2014 at 16:52:00 GMT+8 said...

Gan dari mana dapat ^.+.c.android.clients.google.com.*\$ itu?

Gan mau tanya juga? bisa gak cuma mengijinkan pengguna hnya menginstal misalnya katakanlah https://play.google.com/store/apps/details?id=com.facebook.katana saja yang lain tidak boleh menggunakan mikrotik?. Atau mungkin melakukan filter menggunakan script.

Terimakasih.

indos on Tuesday 5 May 2015 at 15:51:00 GMT+8 said...

itu ada setingan lain di firewall ap cuman di layert 7 protokol. klo bagi ilmu yang komplin agan. ga semua pembaca udah master

De Teknologi on Monday 15 June 2015 at 22:34:00 GMT+8 said...

Ngapuro gan @indos ane post ulang lebih complete buat limit android :D

yusida on Sunday 9 August 2015 at 23:26:00 GMT+8 said...

Kok ga work ya bos? saat dl larinya tetep ke queue master

Rahmat Afriezal on Friday 29 January 2016 at 23:46:00 GMT+8 said...

firewall gk lengkap... dapet berkahnya gk yaa...?
mudah mudahan deh

Blogger on Sunday 1 March 2020 at 18:49:00 GMT+8 said...

According to Stanford Medical, It is really the one and ONLY reason women in this country get to live 10 years longer and weigh an average of 42 pounds lighter than us.

(And by the way, it has totally NOTHING to do with genetics or some hard exercise and absolutely EVERYTHING about "how" they eat.)

P.S, What I said is "HOW", and not "WHAT"...

Tap this link to find out if this little test can help you unlock your true weight loss potential

 

Site Info

free counters

SyakirahNET Copyright © 2009 BeMagazine Blogger Template is Designed by Blogger Template
In Collaboration with fifa

Related Posts Plugin for WordPress, Blogger...