From owner-freebsd-questions@FreeBSD.ORG Mon Apr 4 02:12:02 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB25116A4CE for ; Mon, 4 Apr 2005 02:12:02 +0000 (GMT) Received: from fuse1.fusemail.net (smtp.fusemail.net [69.31.1.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF92F43D58 for ; Mon, 4 Apr 2005 02:12:02 +0000 (GMT) (envelope-from brianjohn@fusemail.com) Received: from fusemail.com by fuse1.fusemail.net with asmtp (FuseMail extSMTP) id 1DIH4C-0000hE-EF for freebsd-questions@freebsd.org; Sun, 03 Apr 2005 21:11:52 -0500 Message-ID: <42509456.1060304@fusemail.com> Date: Sun, 03 Apr 2005 20:11:50 -0500 From: Brian John User-Agent: Mozilla Thunderbird 1.0 (X11/20050315) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: help with pf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2005 02:12:03 -0000 Hello, I read the manpage on pf and constructed a basic set of rules and macros. However, when I start pf it gives me errors about the syntax of my file. Basically all I want to accomplish is I don't want my p2p programs to be able to hog the traffic away from me if I'm trying to surf. When I'm not surfing I want them to be able to download as fast as possible. Here is what I have added to pf.conf: ext_if="vr0" altq on $ext_if priq queue mail priority 13 queue ssh priority 12 queue web priority 14 pass in proto tcp from any to port http keep state queue web pass in proto tcp from any to port ssh keep state queue ssh pass in proto tcp from any to port {smtp imap} queue mail Does anyone know what I might have done wrong? I thought that I had it correct based on the manpage. I'm sure it's something really stupid that I missed. Thanks in advance for the help /Brian