From owner-freebsd-pf@FreeBSD.ORG Fri Mar 23 13:05:23 2007 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 63E8C16A401 for ; Fri, 23 Mar 2007 13:05:23 +0000 (UTC) (envelope-from linux@giboia.org) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id 03A4B13C4D5 for ; Fri, 23 Mar 2007 13:05:22 +0000 (UTC) (envelope-from linux@giboia.org) Received: by nf-out-0910.google.com with SMTP id k27so1837025nfc for ; Fri, 23 Mar 2007 06:05:22 -0700 (PDT) Received: by 10.82.154.2 with SMTP id b2mr6516431bue.1174653468588; Fri, 23 Mar 2007 05:37:48 -0700 (PDT) Received: by 10.82.104.11 with HTTP; Fri, 23 Mar 2007 05:37:48 -0700 (PDT) Message-ID: <6e6841490703230537h79669db8u4c831965fc398fcd@mail.gmail.com> Date: Fri, 23 Mar 2007 09:37:48 -0300 From: "Gilberto Villani Brito" To: "FreeBSD (PF)" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Nat and rdr. 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, 23 Mar 2007 13:05:23 -0000 Hi, I need make nat and rdr for my conections from lo0 of my firewall. I have those rules: rdr on { em0 em1 lo0 } proto icmp from any to 200.250.0.1 -> 192.168.0.2 nat on { em0 em1 lo0 } from 192.168.0.2 to any -> 200.250.0.1 When I tray ping ip 200.250.0.1 from my firewall, it tray the default gw. I would like it make a nat and ping the ip 192.168.0.2. Is it possible?? -- Gilberto Villani Brito System Administrator Londrina - PR Brazil gilbertovb(a)gmail.com