from :http://www.facebook.com/home.php#!/notes/heru-van-danoe/melimit-youtube-di-mt/191341640898286?notif_t=note_reply
Step 1
We input rule in the firewall to get an IP from download servers and enter the IP into the address list ...
/ip firewall filter add chain=forward \ src-address=192.168.5.0/24 protocol=tcp content=.flv \ action=add-dst-to-address-list address-list=downloads \ address-list-timeout=01:00:00
Rule above will capture all traffic to the content. flv originating from the LAN IP blocks and put it into the address list of downloads for 1 hour.
Variable above can be changed according to the topology and the needs of your own.
Step 2
We do mangle for marking packets originating from address lists that we can from Step 1
/ip firewall mangle add chain=forward protocol=tcp src-address-list=downloads \ action=mark-packet new-packet-mark=download-paket
Mangle is we need to label the package so that the simple queue can capture traffic from an IP that has been found on the address list "downloads"
Step 3
The last step we enter the simple queue of packets that have marks we got from step 2
/queue simple add name=download-files \max-limit=64000/64000 packet-marks=download-paket
Put the queue at the top in order to be read first by MikroTik
That's it ..
We've managed to allocate bandwidth to traffic download file2 we want, and keep current browsing .. even if browsing to a server that already in the address list to be slow due to go into limit
Step 1
We input rule in the firewall to get an IP from download servers and enter the IP into the address list ...
/ip firewall filter add chain=forward \ src-address=192.168.5.0/24 protocol=tcp content=.flv \ action=add-dst-to-address-list address-list=downloads \ address-list-timeout=01:00:00
Rule above will capture all traffic to the content. flv originating from the LAN IP blocks and put it into the address list of downloads for 1 hour.
Variable above can be changed according to the topology and the needs of your own.
Step 2
We do mangle for marking packets originating from address lists that we can from Step 1
/ip firewall mangle add chain=forward protocol=tcp src-address-list=downloads \ action=mark-packet new-packet-mark=download-paket
Mangle is we need to label the package so that the simple queue can capture traffic from an IP that has been found on the address list "downloads"
Step 3
The last step we enter the simple queue of packets that have marks we got from step 2
/queue simple add name=download-files \max-limit=64000/64000 packet-marks=download-paket
Put the queue at the top in order to be read first by MikroTik
That's it ..
We've managed to allocate bandwidth to traffic download file2 we want, and keep current browsing .. even if browsing to a server that already in the address list to be slow due to go into limit
Limited Youtube on Mikrotik
4/
5
Oleh
Ayo Sinau
1 komentar:
http://travelsecrets.ws/
ReplyWow, I found this site earlier today and it really helped me.
Chen,