JackNE
Newbie | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору Доброго всем времени. Настроил, как смог шейпер, укажите плз на возможные косяки такого конфига и как их обойти, а то есть подозрение, что работает эта схема не корректно. Или может у кого есть рабочий конфиг, буду благодарен за исходники, всё остальное под себя настрою сам. Задача - приоретизация трафика, канал - адсл 6\0.5 /interface> 0 R ether1 ether 1500 1 R ether2 ether 1500 2 R byfly pppoe-out 1480 /ip firewall nat> 0 chain=srcnat action=masquerade src-address=192.168.2.0/24 out-interface=byfly /ip proxy> enabled: yes src-address: 0.0.0.0 port: 3128 parent-proxy: 0.0.0.0 parent-proxy-port: 0 cache-administrator: "webmaster" max-cache-size: none cache-on-disk: no max-client-connections: 600 max-server-connections: 600 max-fresh-time: 3d serialize-connections: no always-from-cache: no cache-hit-dscp: 4 cache-drive: primary-master /ip firewall mangle> 4 ;;; http_services chain=prerouting action=mark-connection new-connection-mark=http_serv_con passthrough=yes protocol=tcp dst-port=23,53,80,443,3128,5190,3389,4899,8291 connection-bytes=0-1000000 5 chain=prerouting action=mark-connection new-connection-mark=http_serv_con passthrough=yes protocol=udp dst-port=53,67,68,123 6 chain=prerouting action=mark-packet new-packet-mark=http_serv passthrough=yes connection-mark=http_serv_con 7 ;;; http_dowloads_services chain=prerouting action=mark-connection new-connection-mark=download_serv_con passthrough=yes protocol=tcp dst-port=20,21,80,443 connection-bytes=1000000-0 8 chain=prerouting action=mark-packet new-packet-mark=down_serv passthrough=no connection-mark=download_serv_con 9 ;;; p2p chain=prerouting action=mark-connection new-connection-mark=p2p passthrough=yes protocol=udp dst-port=10000 10 chain=prerouting action=mark-connection new-connection-mark=p2p passthrough=yes protocol=udp src-address=192.168.2.0/24 src-port=10000 11 chain=postrouting action=mark-connection new-connection-mark=p2p passthrough=yes protocol=tcp src-address=!178.124.154.104 src-address-list=users1 dst-port=!20,21,23,53,80,443,3128,5190,3389,4899,8291 12 chain=prerouting action=mark-packet new-packet-mark=p2p passthrough=no connection-mark=p2p /queue type> 5 name="PCQ_down" kind=pcq pcq-rate=6000000 pcq-limit=20 pcq-classifier=dst-address pcq-total-limit=500 6 name="PCQ_up" kind=pcq pcq-rate=512000 pcq-limit=20 pcq-classifier=src-address pcq-total-limit=500 /queue tree> pr 0 name="down" parent=ether1 packet-mark="" limit-at=0 queue=default priority=1 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s 1 name="up" parent=ether2 packet-mark="" limit-at=0 queue=default priority=1 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s 2 name="http_serv_" parent=up packet-mark=http_serv limit-at=32000 queue=PCQ_up priority=1 max-limit=512000 burst-limit=0 burst-threshold=0 burst-time=0s 3 name="p2p_" parent=up packet-mark=p2p limit-at=0 queue=PCQ_up priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s 4 name="http_serv" parent=down packet-mark=http_serv limit-at=512000 queue=PCQ_down priority=1 max-limit=6000000 burst-limit=0 burst-threshold=0 burst-time=0s 5 name="p2p" parent=down packet-mark=p2p limit-at=0 queue=PCQ_down priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s 7 name="down_serv" parent=down packet-mark=down_serv limit-at=0 queue=PCQ_down priority=4 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s 8 name="down_serv_" parent=up packet-mark=down_serv limit-at=0 queue=PCQ_up priority=4 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s |