Text Size
   

Senaputra FM

Follow us on Twitter

Download Lagu

download limit only in mikrotik

sometimes we are not dizzy with a downloading user so that other users annoyed. kl kita pakai proxy bisa lewat delay pools maka kita akan coba dengan mikrotik. kl we use a proxy to pass the delay pools then we will try with mikrotik.

pertama kita buat rule untuk address list First we create a rule to address list

/ip firewall address-list add 192.xxx.xxx.xxx / ip firewall address-list add 192.xxx.xxx.xxx

kemudian di firewall filter kita buat untuk rule memfilter extensi file yang mau  di limit then we create a firewall filter rule to filter out the file extension to the limit

/ip firewall filter add chain=forward protocol=tcp content=.exe action=add-src-to-address-list  address-list=download address-list-timeout=0s / ip firewall filter add chain = forward protocol = tcp content =. exe action = add-src-to-address-list address-list = downloads address-list-timeout = 0s

kemuadia buat mangle di ip firewall mangle kemuadia for the ip firewall mangle mangle

/ip firewall mangle add chain=forward protocol=tcp src-address-list=download action=mark-packet new-packet-mark=turun-mank passthrough=yes / ip firewall mangle add chain = forward protocol = tcp src-address-list = downloads action = mark-packet new-packet-mark = out-mank passthrough = yes

setelah semua selesai tinggal kita masukan rule queue di after all finished our stay in the queue input rule

/queue name=”download-files” dst-address=0.0.0.0/0 interface=all parent=none  packet-marks=turun-mank direction=both priority=4 / queue name = “download-files” dst-address = 0.0.0.0 / 0 interface = all parent = none packet-marks = down-mank direction = both priority = 4
queue=default-small/default-small limit-at=128000/128000 queue = default-small/default-small limit-at = 128000/128000
max-limit=128000/128000 total-queue=default-small max-limit = 128000/128000 total-queue = default-small

contoh diatas untuk melimit di 128 untuk extensi yang telah di buat di rule firewall filter example above for melimit at extension 128 to have made in the firewall rule filtering

 

News IT

Bola

Food

Home TUTORIAL download limit only in mikrotik