Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2009 15:46:40 +0100
From:      =?ISO-8859-1?Q?Ermal_Lu=E7i?= <eri@freebsd.org>
To:        =?KOI8-R?B?4czFy9PFyg==?= <alexiy@mail.kar.net>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: nat and filtering rules
Message-ID:  <9a542da30903260746n1045a708j533cb10505fae95b@mail.gmail.com>
In-Reply-To: <49CB7DC7.3090500@mail.kar.net>
References:  <49CB7DC7.3090500@mail.kar.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Try the modified configuration it should give you what are you after.

altq on $int_if cbq bandwidth 10Mb queue { me, comp, mach, =A0dd}
queue on $int_if comp bandwidth 2Mb cbq
queue on $int_if me bandwidth 5Mb cbq(borrow)
queue on $int_if mach bandwidth 2Mb cbq
queue on $int_if dd bandwidth 1Mb cbq(default borrow)

altq on $ext_if cbq =A0bandwidth 10Mb queue { me, comp, mach, =A0dd}
queue on $ext_if comp bandwidth 2Mb cbq
queue on $ext_if me bandwidth 5Mb cbq(borrow)
queue on $ext_if mach bandwidth 2Mb cbq
queue on $ext_if dd bandwidth 1Mb cbq(default borrow)

block all

pass in on $int_if from $me to any queue me
pass in on $int_if from $mach to any queue mach
pass in on $int_if from $mach to any queue mach


--=20
Ermal



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