Monday, September 24, 2012

Bandwidth Management Mikrotik Extension List

Bandwidth Management Mikrotik Extension List


Limiting bandwidth downloading Based on the file extension

Beginning with the creation mangle first aimed as a liaison between the file downloads are filtered by the firewall then execute the function queue

Ip firewall mangle add chain = forward action = mark-packet new-packet-mark = downloads-packet passthrough = protocol = tcp src yess-address-list = downloads

Here is a function to run the queue.

Queue simple add name = download-files interface = all parent = none packet-marks = download packet-direction = both priority = 8 queue = default-small/default-small limit-at = 0/0 max-limit = 1m/512k burst-limit = 0/0 burst-threshold = 0/0 burst-time = 0s/0s total-queue = default-small

Next granting extension file to the download limit

Ip firewall filter add chain = forward action = add-dst-to-address-list protocol = tcp src-address = 192.168.1.0/24 address-list = downloads address-list-timeout = 5m content =. Mp3

This method has been done on RB750, RB1000, and RB1200



Enjoy

No comments:

Post a Comment