Laman

Jumat, 29 April 2011

mangel

use mangle and examples of case (a tutorial step by step)
This facility sangat2 ​​useful for advanced and complex settings.
mangle usually in use for a bookmark or mark, and many in use to mark connetion, mark and mark packet routing.
in particular kasus2 we do have to use this feature you can make rules in accordance with the wishes and needs on a network / network, such as giving priority to the application / port2, or a particular port2 melimit in our network.

I will give one example the case in a network / network.
eg. within a company has a bandwidth of 256kbps and the main activity / priority need is an email, with the limited bandwidth which companies want to need was still running and is not bothered by employees2 who used the Internet for browsing.
so setting kira2 like this:
pertama2 we mark the first connection using a connection mark.
[Hide] we mark the smtp port
Mangel ip firewall add chain = prerouting in-interface = local dst-port = 25 action = mark-connection new-connection-mark = email
after that we also mark the pop3 port
Mangel ip firewall add chain = prerouting in-interface = local dst-port = 110 action = mark-connection new-connection-mark = email
after its connection is assigned a mark packet2 now we live in order to rule QOSnya
Mangel ip firewall add chain = prerouting connection-mark = email action = mark-packet packet-mark = email-packet
mail completed packet mark
Now we mark the port for browsingnya.
p firewalls Mangel add chain = prerouting in-interface = local dst-port = 80 action = mark-connection new-connection-mark = browsing
Mangel ip firewall add chain = prerouting connection-mark = browsing action = mark-packet packet-mark = browsing-packet
and add another one packet in addition to a distinguished mark on other packet call
Mangel ip firewall add chain = prerouting action = mark-packet packet-mark = other-packet

if we want packet2 you have made it our priority setting
/ Queue tree add parent = global-in name = priority priority = 1
/ Queue tree add packet-mark = email parent = priority priority = 1
/ Queue tree add packet-mark = browsing parent = priority priority = 4
/ Queue tree add packet-mark = other parent = priority priority = 8

or if we want mebatasi / melimit packet2 earlier.
/ Queue simple add name = email packet-marks = email max-limit = 256k
/ 256k
/ Queue simple add name = email packet-marks = email max-limit = 128kk
/ 128k

for example the use of mark-routing can be tough here http://forum.indourl.com/viewtopic.php?f=27&t=43 [/ hide]

So a little discussion about the mangle and hopefully useful.

Tidak ada komentar:

Posting Komentar