Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2014 11:08:38 +0200
From:      "skeletor@lissyara.su" <skeletor@lissyara.su>
To:        freebsd-pf@freebsd.org
Subject:   shaping traffic + src limit
Message-ID:  <54520016.8000100@lissyara.su>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54520016.8000100>