FAVOURITE

Powered by Blogger.

Followers

alexa

free counters

Limiting Download Mikrotik

Sometimes a network administrator will have "a headache" for the act of the client that mggunakan download accelator like Free Download Manager (FDM), Internet Download Manager (IDM) and another download accelerator. This causes the bandwidth allocation in its own suction ... while others just want to browse the hard .. long ... huuuuhhhhhh ... Well .. to outsmart him there is an effective way to limit download bandwidth without disrupting the overall browsing.
Actually this tutorial already exists in Google's uncle also .. But no one author is trying to modify with a slightly different way but essentially the same. OK .. just follow the steps below ... ...
before continuing, there are several steps that we need to consider, among others, the bandwidth capacity that we have, firewall, mangle, and simple queue

The first step we are setting up a firewall. The following script:

/ip firewall filter add chain=forward src-address=192.168.1.0/24 protocol=tcp content=.exe action=add-dst-to-address-list address-list=cekek address-list-timeout=01:00:00
/ip firewall filter add chain=forward src-address=192.168.1.0/24 protocol=tcp content=.iso action=add-dst-to-address-list address-list=cekek address-list-timeout=01:00:00
/ip firewall filter add chain=forward src-address=192.168.1.0/24 protocol=tcp content=.mpg action=add-dst-to-address-list address-list=cekek address-list-timeout=01:00:00
/ip firewall filter add chain=forward src-address=192.168.1.0/24 protocol=tcp content=.zip action=add-dst-to-address-list address-list=cekek address-list-timeout=01:00:00
/ip firewall filter add chain=forward src-address=192.168.1.0/24 protocol=tcp content=.rar action=add-dst-to-address-list address-list=cekek address-list-timeout=01:00:00
/ip firewall filter add chain=forward src-address=192.168.1.0/24 protocol=tcp content=.dat action=add-dst-to-address-list address-list=cekek address-list-timeout=01:00:00
/ip firewall filter add chain=forward src-address=192.168.1.0/24 protocol=tcp content=.flv action=add-dst-to-address-list address-list=cekek address-list-timeout=01:00:00
/ip firewall filter add chain=forward src-address=192.168.1.0/24 protocol=tcp content=.3gp action=add-dst-to-address-list address-list=cekek address-list-timeout=01:00:00
/ip firewall filter add chain=forward src-address=192.168.1.0/24 protocol=tcp content=.mpeg action=add-dst-to-address-list address-list=cekek address-list-timeout=01:00:00
/ip firewall filter add chain=forward src-address=192.168.1.0/24 protocol=tcp content=.avi action=add-dst-to-address-list address-list=cekek address-list-timeout=01:00:00
/ip firewall filter add chain=forward src-address=192.168.1.0/24 protocol=tcp content=.ram action=add-dst-to-address-list address-list=cekek address-list-timeout=01:00:00
/ip firewall filter add chain=forward src-address=192.168.1.0/24 protocol=tcp content=.mov action=add-dst-to-address-list address-list=cekek address-list-timeout=01:00:00
/ip firewall filter add chain=forward src-address=192.168.1.0/24 protocol=tcp content=.wma action=add-dst-to-address-list address-list=cekek address-list-timeout=01:00:00
/ip firewall filter add chain=forward src-address=192.168.1.0/24 protocol=tcp content=.aiff action=add-dst-to-address-list address-list=cekek address-list-timeout=01:00:00
/ip firewall filter add chain=forward src-address=192.168.1.0/24 protocol=tcp content=.au action=add-dst-to-address-list address-list=cekek address-list-timeout=01:00:00
/ip firewall filter add chain=forward src-address=192.168.1.0/24 protocol=tcp content=.wav action=add-dst-to-address-list address-list=cekek address-list-timeout=01:00:00
/ip firewall filter add chain=forward src-address=192.168.1.0/24 protocol=tcp content=.rar action=add-dst-to-address-list address-list=cekek address-list-timeout=01:00:00

Description:
ip address in the script is the IP network, therefore, adjust it with your network ip, tcp content is a file extension that is often downloaded by the client, if you feel less, please in the add itself. Cekek address list will appear automatically in the menu ip firewall address list with nana cekek (in cekik, red). Block smua script above then you paste it in the menu New terminal, end with enter.
The next step is menginisialisai packet marking in the mangle with the script below:


/ip firewall mangle add chain = forward protocol = tcp src-address-list = cekek action = mark-packet new-packet-mark = cekek-bw-by-extension
that is, all tcp traffict which recognize the file extension in the download will be marked (marked) as cekek-bw-by-extension selanjutny will identify the firewall address list so that the ip address that the downloads will be detected automatically.

The final step, is to enter a packet marking is that we make in the mangle for the recognizable by the queu to include this script
/ Queue simple add-files-limit = 32000/64000 max packet-marks = cekek-bw-by-extension
means that we limit the file extension 32kbps download and 64kbps upload dowload. if the bandwidth you need at tight CEKEK those who like ngedownload. For those of you who have a large bandwidth downlod please adjust the capacity you want to give .. could 128kbps, 256kbps 512kbps up to you dah ....
OK finished ..

 



0 komentar:

free web site traffic and promotion

The button image will displayed on your site like this


Kolom blog tutorial

Google Website Translator Gadget

About Me

Your Location