From owner-freebsd-pf@freebsd.org Thu May 19 09:49:43 2016 Return-Path: Delivered-To: freebsd-pf@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0929BB422ED for ; Thu, 19 May 2016 09:49:43 +0000 (UTC) (envelope-from radek.krejca@starnet.cz) Received: from EXCHANGE.mail.starnet.cz (exchange.mail.starnet.cz [92.62.224.72]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "EXCHANGE.mail.starnet.cz", Issuer "STARNET" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9AFB811B8 for ; Thu, 19 May 2016 09:49:42 +0000 (UTC) (envelope-from radek.krejca@starnet.cz) Received: from EXCHANGE.mail.starnet.cz ([fe80::d017:9e72:12a5:7bb4]) by EXCHANGE.mail.starnet.cz ([fe80::d017:9e72:12a5:7bb4%14]) with mapi; Thu, 19 May 2016 11:48:29 +0200 From: =?iso-8859-2?Q?Radek_Krej=E8a?= To: "'freebsd-pf@freebsd.org'" Date: Thu, 19 May 2016 11:48:28 +0200 Subject: Traffic shaping incomming traffic for all vlans Thread-Topic: Traffic shaping incomming traffic for all vlans Thread-Index: AdGxs5sNwLjWEXZPRmyC7twTqX2FmA== Message-ID: <262ED41F8198C0409ACB79946570FFCD1AA134055F@EXCHANGE.mail.starnet.cz> Accept-Language: cs-CZ Content-Language: cs-CZ X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: cs-CZ Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.22 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, 19 May 2016 09:49:43 -0000 Hello, I have freebsd router with pf for NAT and firewall. There are 2 NICs, one f= or incomming traffic from internet and second for traffic to clients. On in= ternal NIC are a lot of vlans. I need to make traffic shaping for all users based on src ip from internet.= But I have problem, it doesnt work. Working rule for block all traffic is: block quick proto { tcp, udp } from 192.168.52.0/24=20 but the same rule with externa nic dosnt match: block quick on $ext_if prot= o { tcp, udp } from 192.168.52.0/24 Why? And second problem - how to set up (on which interface) altq queues? Thank you very much. Radek