shaping traffic + src limit
skeletor at lissyara.su
skeletor at lissyara.su
Thu Oct 30 09:23:52 UTC 2014
Hello.
Recently, I have found interesting question: shaping traffic with altq
and max for connections.
So, we have such rules:
nat on $wan1 proto tcp from <wan1> to any -> ($wan1)
...
queue comp1 bandwidth 40Mb priority 4
queue comp2 bandwidth 40Mb priority 4
...
pass out quick on $vlan20 from any to 10.100.7.60 queue comp1 no state
pass out quick on $vlan20 from any to 10.100.7.61 queue comp2 no state
...
pass in quick on $vlan20 route-to ($wan1 $gw1) from <wan1> to
!10.0.0.0/8 no state
but we cannot apply to this rules '... keep-state (max 200)', because we
already have 'no state'.
Is it possible to solve?
Thanks.
More information about the freebsd-pf
mailing list