Код: Выделить всё
ipfw add 1 count altq game_out all from any to any 8112 out via $ext_if
ipfw add 2 count altq game_in all from any 8112 to any out via int_if
Код: Выделить всё
ipfw add 1 count altq game_out all from any to any 8112 out via $ext_if
ipfw add 2 count altq game_in all from any 8112 to any out via int_if
порт может быть привязан токо в протоколуall from any to any 8112
раньше нельзя было создавать правила с портом неуказывая протоколipfw add 1 count altq game_out all from any to any 8112 out via $ext_if
ipfw add 2 count altq game_in all from any 8112 to any out via int_if
С которой я тему начинал.paradox писал(а):а какая там ситуация должна измениться?
Код: Выделить всё
altq on $vpnb_if cbq bandwidth 1950Kb queue {rezh, qall}
queue rezh bandwidth 50Kb priority 2 cbq
queue qall bandwidth 150Kb priority 3 cbq ( default borrow )
Код: Выделить всё
block on $vpnb_if proto tcp from any port {137, 139, 445} to 192.168.250.1
pass in on $office_if proto tcp from 192.168.252.59 to any port {137, 139, 445} queue rezh no state
pass out on $vpnb_if proto tcp from 192.168.252.59 to any port {137, 139, 445} queue rezh no state
pass in on $vpnb_if proto tcp from any port {137, 139, 445} to 192.168.252.59 queue rezh no state
pass out on $office_if proto tcp from any port {137, 139, 445} to 192.168.252.59 queue rezh no state
аltq on $int_if bandwidth 1000Kb cbq queue {def_in, game_in}
queue def_in bandwidth 872Kb cbq(default borrow red)
ipfw add 2 count altq game_in all from any 8112 to any out via $int_if
Ну и т.д. Все, кто не попал в очередь идут в дефолтную.