From owner-freebsd-questions@FreeBSD.ORG Wed Apr 14 01:03:55 2004 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 02D2B16A4CE for ; Wed, 14 Apr 2004 01:03:55 -0700 (PDT) Received: from mail.elvandar.org (cust.94.120.adsl.cistron.nl [195.64.94.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 629EF43D64 for ; Wed, 14 Apr 2004 01:03:54 -0700 (PDT) (envelope-from remko@elvandar.org) Message-ID: <407CF066.80804@elvandar.org> Date: Wed, 14 Apr 2004 10:03:50 +0200 From: Remko Lodder X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Marc \"UBM\" Bocklet" References: <20040414031512.58c59a08.ubm@u-boot-man.de> In-Reply-To: <20040414031512.58c59a08.ubm@u-boot-man.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at elvandar.org cc: questions@freebsd.org Subject: Re: port redirection 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: Wed, 14 Apr 2004 08:03:55 -0000 > > pf.conf:2: syntax error > pfctl: Syntax error in config file: pf rules not loaded > rdr on $nic proto tcp from any to $my_ext port $portext -> $int_host port $portint Your rdr rule however seems ok. Try using my version and report back.. Note that he example is a real-working rule on my firewall (OpenBSD with pf). cheers -- Kind regards, Remko Lodder Elvandar.org/DSINet.org www.mostly-harmless.nl A Dutch community for helping newcomers on the hackerscene