From owner-freebsd-pf@FreeBSD.ORG Sun Aug 20 18:08:25 2006 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D538616A4DA for ; Sun, 20 Aug 2006 18:08:25 +0000 (UTC) (envelope-from kian.mohageri@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5143C43D4C for ; Sun, 20 Aug 2006 18:08:25 +0000 (GMT) (envelope-from kian.mohageri@gmail.com) Received: by nz-out-0102.google.com with SMTP id x3so665268nzd for ; Sun, 20 Aug 2006 11:08:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=jKp+yVchbBQeuOKgVRIPaPgnyJ5c7NKjCF6aHXdojSijcUKr7FG6Y0VA14139UBzrZT9K082KYevhRG2b+GFN4UWOALKOLDPDn3BaBEDhz8vV9odiSytb4fdeqGDFwdjgVH6Gx/jhZf0HvhkIAgXWk+79bkpwjR0lNm9jim7eEg= Received: by 10.65.59.20 with SMTP id m20mr5714549qbk; Sun, 20 Aug 2006 11:08:24 -0700 (PDT) Received: by 10.64.151.20 with HTTP; Sun, 20 Aug 2006 11:08:24 -0700 (PDT) Message-ID: Date: Sun, 20 Aug 2006 11:08:24 -0700 From: "Kian Mohageri" To: "Ivan Levchenko" In-Reply-To: MIME-Version: 1.0 References: <20060818141823.55551.qmail@web33913.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: beno - , freebsd-pf@freebsd.org Subject: Re: Easy Question From Newbie 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: Sun, 20 Aug 2006 18:08:25 -0000 On 8/18/06, Ivan Levchenko wrote: > > You need to either load the pf kernel module, which can be done by adding > pf_load="YES" to /boot/loader.conf (you may also load the module > without rebooting like this: > kldload pf) If you use the module, then altq will not work for you. I would suggest loading pf via /etc/rc.conf instead: pf_enable="YES" # Set to YES to enable packet filter (pf) pf_rules="/etc/pf.conf" # rules definition file for pf pflog_enable="YES" # Set to YES to enable packet filter logging The rc script will load the module if it needs to. See /etc/defaults/rc.conf for other variables /etc/rc.d/pf* uses. Kian