From owner-freebsd-pf@FreeBSD.ORG Fri May 6 16:58:29 2011 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 5BC101065672 for ; Fri, 6 May 2011 16:58:29 +0000 (UTC) (envelope-from artemrts@ukr.net) Received: from ffe10.ukr.net (ffe10.ukr.net [195.214.192.60]) by mx1.freebsd.org (Postfix) with ESMTP id 10EA68FC08 for ; Fri, 6 May 2011 16:58:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Date:Message-Id:From:To:References:In-Reply-To:Subject:Cc:Content-Type:Content-Transfer-Encoding:MIME-Version; bh=1fX51tW8iOqKxDKDGygzg3shhIIS6vqkbhKve7RTgxQ=; b=jQXyfn2UXq29OQc/CVNBaUqdgUXo8h3J//+gtD/orzqQx+WAh6cLD8c07clT5zLAYdEBDBNvH8r7aWY4v/8RoXE5QzDtbX1y7MHMk0utbe/wtZ056Tj9pvZFQN4cHfDJIZqoQhEwKodh2fwtK0oF9QczdgO7pb9xL4YPTp7kdWg=; Received: from mail by ffe10.ukr.net with local ID 1QIO5v-000LlY-Rs ; Fri, 06 May 2011 19:41:35 +0300 MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: binary Content-Type: text/plain; charset="windows-1251" In-Reply-To: <4DC3FA08.6020700@cirp.usp.br> References: <4DC3FA08.6020700@cirp.usp.br> To: "Ali Faiez Taha" From: =?WINDOWS-1251?B?wujy4Ovo6SDC6+Dk6Ozo8O7i6Pc=?= X-Mailer: freemail.ukr.net 4.0 X-Originating-Ip: [195.200.251.1] X-Browser: Mozilla/5.0 (Unix) Message-Id: Date: Fri, 06 May 2011 19:41:35 +0300 Cc: freebsd-pf@freebsd.org Subject: Re: update 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: Fri, 06 May 2011 16:58:29 -0000 --- Original Message --- From: "Ali Faiez Taha" To: freebsd-pf@freebsd.org Date: 6 May 2011, 16:39:20 Subject: Re: update rules > I am trying to set up a PF in OpenBSD 4.9 and using old rules from OpenBSD 3.9 > > There are some SYNTAX ERRORS : > > no rdr on $ext_if inet proto tcp from to any > > rdr on $ext_if inet proto tcp from to any port smtp -> 127.0.0.1 port spamd > > rdr on $ext_if inet proto tcp from ! to any port smtp -> 127.0.0.1 port spamd > > rdr on $ext_if inet proto tcp from any to any port 21 -> $ftp_server port 21 > > pass in on $ext_if route-to lo0 inet proto tcp from any to 127.0.0.1 port spamd > > I am new on PF and need some help to solve this problem. > Some book to understand the changes in PF ? > > Thanks a lot. You should check new features in pf on the official OpenBSD website http://openbsd.org/39.html#new http://openbsd.org/40.html#new http://openbsd.org/41.html#new ......