From owner-freebsd-pf@FreeBSD.ORG Wed Jun 16 16:29:01 2010 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 63A49106566B for ; Wed, 16 Jun 2010 16:29:01 +0000 (UTC) (envelope-from Aleksej.Spenst@harman.com) Received: from exprod6og115.obsmtp.com (exprod6og115.obsmtp.com [64.18.1.35]) by mx1.freebsd.org (Postfix) with SMTP id AE53B8FC0A for ; Wed, 16 Jun 2010 16:29:00 +0000 (UTC) Received: from source ([194.121.90.173]) (using TLSv1) by exprod6ob115.postini.com ([64.18.5.12]) with SMTP ID DSNKTBj7yzZ2tN6RfiR+zcJPKrSGmHvsLa0L@postini.com; Wed, 16 Jun 2010 09:29:00 PDT Received: from HIKAWSEX01.ad.harman.com ([fe80::f023:31d4:f809:b22e]) by HIKAWSEX03.ad.harman.com ([::1]) with mapi; Wed, 16 Jun 2010 18:28:57 +0200 From: "Spenst, Aleksej" To: "'freebsd-pf@freebsd.org'" Date: Wed, 16 Jun 2010 18:28:57 +0200 Thread-Topic: route-to with altq problem Thread-Index: Acr4KNIB3ISmGErhR32Td5+QACOQmwAhzsAwBS7c0nA= Message-ID: <20290C577F743240B5256C89EFA753810C3CC9FE72@HIKAWSEX01.ad.harman.com> References: <20290C577F743240B5256C89EFA753810C3CC9FE54@HIKAWSEX01.ad.harman.com> In-Reply-To: <20290C577F743240B5256C89EFA753810C3CC9FE54@HIKAWSEX01.ad.harman.com> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: route-to with altq problem 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: Wed, 16 Jun 2010 16:29:01 -0000 =20 Hi all, I have the problem that after redirecting the packets with 'route-to' keywo= rd to the external interface $ext_if, the packets are not queued at $ext_if= but directly go out. The problem is that I have configured queues (ALTQ) a= t $ext_if to make prioritization of traffic, but queues are ignored as pack= ets are not queued. Below is my pf.conf without queue configuration, which is not relevant here= . The last rule is never matched!!! --- pf.conf ---- nat on lo0 proto tcp tag PRIQ5 -> ($ext_if) pass out on lo0 route-to $ext_if tagged PRIQ5 keep state pass out on $ext_if tagged PRIQ5 queue q5 keep state ---------------- Thanks a lot for any suggestion about how to force packets to go to queues = at $ext_if after 'nat'. Aleksej.