Доброе время суток?
Настраиваю нарезку трафика через altq. Сделал пробные правила. Не работают. В чём я ошибся?
-----------------------------------pf.conf-----------------------------------------------------#---------------ALTQ---------------------
altq on $ext_if cbq bandwidth 2Mb queue { root_q }
queue root_q cbq {ftp_, all_}
queue ftp_ bandwidth 7Kb cbq(borrow red)
queue all_ bandwidth 1Mb cbq(default borrow red)
#----------------------------------------
pass in quick inet proto icmp from <clients> icmp-type echoreq keep state
pass in log quick proto tcp from <clients> to port $work_ports_no_ftp keep state queue ftp_
pass in log quick proto tcp from <clients> to port $work_ports_ftp keep state queue ftp_
pass out quick inet proto tcp from port $work_ports to <clients> keep state queue all_
-------------------------------------------------------------------------------------------------