Перейти из форума на сайт.

НовостиФайловые архивы
ПоискАктивные темыТоп лист
ПравилаКто в on-line?
Вход Забыли пароль? Первый раз на этом сайте? Регистрация
Компьютерный форум Ru.Board » Компьютеры » В помощь системному администратору » MikroTik RouterOS (часть 2)

Модерирует : lynx, Crash_Master, dg, emx, ShriEkeR

ShriEkeR (23-08-2010 21:26): MikroTik RouterOS (часть 3)  Версия для печати • ПодписатьсяДобавить в закладки
На первую страницук этому сообщениюк последнему сообщению

   

AppleNet

Newbie
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
/ip firewall mangle
add action=mark-packet chain=prerouting comment=ICMP disabled=no new-packet-mark=ICMP passthrough=no protocol=icmp
add action=mark-packet chain=prerouting comment="HTTP 80" disabled=no dst-port=80 new-packet-mark=HTTP_80 passthrough=no protocol=tcp
add action=mark-packet chain=prerouting comment=POP3 disabled=no dst-port=110 new-packet-mark=POP3 passthrough=no protocol=tcp
add action=mark-packet chain=prerouting comment=SMTP disabled=no dst-port=25 new-packet-mark=SMTP passthrough=no protocol=tcp
add action=mark-packet chain=prerouting comment=IMAP disabled=no dst-port=143 new-packet-mark=IMAP passthrough=no protocol=tcp
add action=mark-packet chain=prerouting comment=SSL disabled=no dst-port=443 new-packet-mark=SSL passthrough=no protocol=tcp
add action=mark-packet chain=prerouting comment="\C3\EE\EB\FB\E5 \F1\F2\F0\E0\ED\E8\F7\EA\E8" connection-bytes=1-512000 disabled=no new-packet-mark=0bytes \
    passthrough=yes
add action=mark-packet chain=prerouting comment=P2P disabled=no new-packet-mark=p2p p2p=all-p2p passthrough=no
add action=mark-packet chain=prerouting comment="P2P Bittorrent" disabled=no layer7-protocol=bittorrent new-packet-mark=bittorrent passthrough=no
add action=mark-packet chain=prerouting comment="" disabled=no new-packet-mark=no-mark passthrough=yes
add action=mark-connection chain=forward comment="mark 128 connection" disabled=no new-connection-mark=alexnet-128 passthrough=yes src-address-list=\
    alexnet-128
add action=mark-packet chain=forward comment="" connection-mark=alexnet-128 disabled=no new-packet-mark=alexnet-128 passthrough=no
add action=mark-connection chain=forward comment="mark 256 connection" disabled=no new-connection-mark=alexnet-256 passthrough=yes src-address-list=\
    alexnet-256
add action=mark-packet chain=forward comment="" connection-mark=alexnet-256 disabled=no new-packet-mark=alexnet-256 passthrough=no
add action=mark-connection chain=forward comment="mark 512 connection" disabled=no new-connection-mark=alexnet-512 passthrough=yes src-address-list=\
    alexnet-512
add action=mark-packet chain=forward comment="" connection-mark=alexnet-512 disabled=no new-packet-mark=alexnet-512 passthrough=no
add action=mark-connection chain=forward comment="mark 512 connection" disabled=no new-connection-mark=alexnet-1024 passthrough=yes src-address-list=\
    alexnet-1024
add action=mark-packet chain=forward comment="" connection-mark=alexnet-1024 disabled=no new-packet-mark=alexnet-1024 passthrough=no
add action=log chain=forward comment="Check for unmarked traffic" disabled=yes log-prefix=""
 
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=PRIO packet-mark="" parent=global-total priority=5
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=PRIO_1 packet-mark="" parent=PRIO priority=1
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name="HTTP 80" packet-mark=HTTP_80 parent=PRIO_1 priority=1 queue=\
    default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=POP3 packet-mark=POP3 parent=PRIO_1 priority=1 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=SMTP packet-mark=SMTP parent=PRIO_1 priority=1 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=IMAP packet-mark=IMAP parent=PRIO_1 priority=1 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=SSL packet-mark=SSL parent=PRIO_1 priority=1 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=PRIO_8 packet-mark="" parent=PRIO priority=8
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=P2P packet-mark=p2p parent=PRIO_8 priority=8 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=0BYTES packet-mark=0bytes parent=PRIO_1 priority=1 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=Bittorrent packet-mark=bittorrent parent=PRIO_8 priority=8 queue=\
    default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=Total_download parent=global-out priority=1
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=512_down packet-mark=alexnet-512 parent=Total_download priority=8 \
    queue=PCQ_down_512k
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=Total_upload parent=global-out priority=1
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=512_up packet-mark=alexnet-512 parent=Total_upload priority=8 \
    queue=PCQ_up_64k
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=128_down packet-mark=alexnet-128 parent=Total_download priority=8 \
    queue=PCQ_down_128k
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=128_up packet-mark=alexnet-128 parent=Total_upload priority=8 \
    queue=PCQ_up_32k
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=256_down packet-mark=alexnet-256 parent=Total_download priority=8 \
    queue=PCQ_down_256k
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=256_up packet-mark=alexnet-256 parent=Total_upload priority=8 \
    queue=PCQ_up_64k
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=1M_down packet-mark=alexnet-1024 parent=Total_download priority=8 \
    queue=PCQ_down_1M
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=1M_up packet-mark=alexnet-1024 parent=Total_upload priority=8 \
    queue=PCQ_up_128k
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=ICMP packet-mark=ICMP parent=PRIO_1 priority=1 queue=default
 
/queue type
set default kind=pfifo name=default pfifo-limit=50
set ethernet-default kind=pfifo name=ethernet-default pfifo-limit=50
set wireless-default kind=sfq name=wireless-default sfq-allot=1514 sfq-perturb=5
set synchronous-default kind=red name=synchronous-default red-avg-packet=1000 red-burst=20 red-limit=60 red-max-threshold=50 red-min-threshold=10
set hotspot-default kind=sfq name=hotspot-default sfq-allot=1514 sfq-perturb=5
add kind=pcq name=PCQ_down_128k pcq-classifier=dst-address pcq-limit=50 pcq-rate=128000 pcq-total-limit=2000
add kind=pcq name=PCQ_up_64k pcq-classifier=src-address pcq-limit=50 pcq-rate=64000 pcq-total-limit=2000
add kind=pcq name=PCQ_down_256k pcq-classifier=dst-address pcq-limit=50 pcq-rate=256000 pcq-total-limit=2000
add kind=pcq name=PCQ_down_512k pcq-classifier=dst-address pcq-limit=50 pcq-rate=512000 pcq-total-limit=2000
add kind=pcq name=PCQ_down_1M pcq-classifier=dst-address pcq-limit=50 pcq-rate=1000000 pcq-total-limit=2000
add kind=pcq name=PCQ_up_128k pcq-classifier=src-address pcq-limit=50 pcq-rate=128000 pcq-total-limit=2000
add kind=pcq name=PCQ_up_32k pcq-classifier=src-address pcq-limit=50 pcq-rate=32000 pcq-total-limit=2000
set default-small kind=pfifo name=default-small pfifo-limit=10

Всего записей: 11 | Зарегистр. 07-03-2009 | Отправлено: 18:22 20-02-2010 | Исправлено: AppleNet, 18:33 20-02-2010
   

На первую страницук этому сообщениюк последнему сообщению

Компьютерный форум Ru.Board » Компьютеры » В помощь системному администратору » MikroTik RouterOS (часть 2)
ShriEkeR (23-08-2010 21:26): MikroTik RouterOS (часть 3)


Реклама на форуме Ru.Board.

Powered by Ikonboard "v2.1.7b" © 2000 Ikonboard.com
Modified by Ru.B0ard
© Ru.B0ard 2000-2024

BitCoin: 1NGG1chHtUvrtEqjeerQCKDMUi6S6CG4iC

Рейтинг.ru