From owner-freebsd-pf@FreeBSD.ORG Thu Mar 26 15:08:39 2009 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF18B106566C for ; Thu, 26 Mar 2009 15:08:39 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id CDF2B8FC31 for ; Thu, 26 Mar 2009 15:08:38 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: by fg-out-1718.google.com with SMTP id 13so198055fge.12 for ; Thu, 26 Mar 2009 08:08:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=itX7gYeyAL7NqW3cX2KjOk8ZaqsrJ1LGuo1LemD0sAs=; b=LhxMJjZRg/pslTZd3Ur9e2igHuEnq3J7OCIjnlprGqw7mjMk2+xJ4MJ+A9cA+Z5j8r mRr9Hjx8PdfFCjf2dmJP1A4ndt/b/GgFn0JSgvO1nmmXCiqQXHkhsnQIn95mZe85SojV EtnD34inKGNecVTGONOFBH30tsz5iimE4LLxY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=VWCZRrwU1sHLWGExpdFToXZi75aMHpW+j/cTKOzKa+Hhh2hxBVx0ZY4yZLMFNN/l8X bIQCASR4JEhG12CIjddqaeyimvsfcFzZg062e+OlMQp0yhzsGiXpamQS0G6PIkrttpsL CH5VA444jedM3SJFNRzBJ+va4dEpCw9z2p1XI= MIME-Version: 1.0 Sender: ermal.luci@gmail.com Received: by 10.86.95.20 with SMTP id s20mr1167848fgb.77.1238078801145; Thu, 26 Mar 2009 07:46:41 -0700 (PDT) In-Reply-To: <49CB7DC7.3090500@mail.kar.net> References: <49CB7DC7.3090500@mail.kar.net> Date: Thu, 26 Mar 2009 15:46:40 +0100 X-Google-Sender-Auth: 8b2aeacafc62b7e5 Message-ID: <9a542da30903260746n1045a708j533cb10505fae95b@mail.gmail.com> From: =?ISO-8859-1?Q?Ermal_Lu=E7i?= To: =?KOI8-R?B?4czFy9PFyg==?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-pf@freebsd.org Subject: Re: nat and filtering rules X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2009 15:08:40 -0000 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