From owner-freebsd-questions@FreeBSD.ORG Mon Aug 23 21:36:09 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 D599B16A4CE for ; Mon, 23 Aug 2004 21:36:09 +0000 (GMT) Received: from p15140542.pureserver.info (papendorf-se.de [217.160.222.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CF0943D45 for ; Mon, 23 Aug 2004 21:36:08 +0000 (GMT) (envelope-from freebsd@nagilum.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by p15140542.pureserver.info (Postfix) with ESMTP id DCA062F4117; Mon, 23 Aug 2004 23:36:06 +0200 (CEST) Received: from p15140542.pureserver.info ([127.0.0.1]) by localhost (p15140542 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10834-05; Mon, 23 Aug 2004 23:36:05 +0200 (CEST) Received: from cakebox.homeunix.net (stgt-d9bb5c59.pool.mediaWays.net [217.187.92.89]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by p15140542.pureserver.info (Postfix) with ESMTP id 887CF2F405B; Mon, 23 Aug 2004 23:36:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cakebox.homeunix.net (Postfix) with ESMTP id 1B20D3029A2; Mon, 23 Aug 2004 23:35:43 +0200 (CEST) Received: from cakebox.homeunix.net ([127.0.0.1]) by localhost (cakebox.tis [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11579-03; Mon, 23 Aug 2004 23:35:37 +0200 (CEST) Received: from [10.1.1.4] (scorpio.tis [10.1.1.4]) by cakebox.homeunix.net (Postfix) with ESMTP id 1F806302807; Mon, 23 Aug 2004 23:35:35 +0200 (CEST) Message-ID: <412A6337.1060006@nagilum.org> Date: Mon, 23 Aug 2004 23:35:51 +0200 From: Nagilum User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Jorge Mario G." References: <20040814023511.38548.qmail@web50301.mail.yahoo.com> In-Reply-To: <20040814023511.38548.qmail@web50301.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at cakebox.homeunix.net X-Virus-Scanned: by amavisd-new at papendorf-se.de cc: freebsd-questions@freebsd.org Subject: Re: switching NAT: ipf to pf not working 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, 23 Aug 2004 21:36:09 -0000 Hi, Try it with this: ext_if="xl0" nat on $ext_if inet from ! ($ext_if) to any -> ($ext_if) Kind regards, Alex. Jorge Mario G. wrote: >Hello there > >I'm trying to switch the nat from ipf to pf >our lan is pretty simple > >INTERNET (pf)--- 192.168.0.0/24 LAN1 > | > | > |------- 192.168.1.0/24 Wireless LAN >our ipf configuration was pretty much like this >map xl0 192.168.0.0/24 -> 0/32 >map xl0 192.168.1.0/24 -> 0/32 > > >Now our pf configuration looks like this: >nat on xl0 from 192.168.0.0/24 to any -> (xl0) >nat on xl0 from 192.168.1.0/24 to any -> (xl0) > > >192.168.1.254 is our Wireless access point > > >I dont get it what are we doing wrong? > > > >Jorge > > > > > >===== > > >_________________________________________________________ >Do You Yahoo!? >Información de Estados Unidos y América Latina, en Yahoo! Noticias. >Visítanos en http://noticias.espanol.yahoo.com >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >