From owner-freebsd-questions@FreeBSD.ORG Mon May 26 07:21:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6719E1065671 for ; Mon, 26 May 2008 07:21:08 +0000 (UTC) (envelope-from siseci@siseci.com) Received: from istanbul.enderunix.org (freefall.marmara.edu.tr [193.140.143.23]) by mx1.freebsd.org (Postfix) with ESMTP id 7EEBA8FC1E for ; Mon, 26 May 2008 07:21:07 +0000 (UTC) (envelope-from siseci@siseci.com) Received: (qmail 41059 invoked from network); 26 May 2008 06:54:14 -0000 Received: from unknown (HELO ?192.168.4.36?) (127.0.0.1) by 0 with SMTP; 26 May 2008 06:54:14 -0000 Message-ID: <483A5E4D.2090901@siseci.com> Date: Mon, 26 May 2008 09:53:01 +0300 From: Necati Ersen SISECI User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" References: <6ae50c2d0805252340x5b8efc73lea4757b52c194351@mail.gmail.com> In-Reply-To: <6ae50c2d0805252340x5b8efc73lea4757b52c194351@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-9; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: ipnat X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2008 07:21:08 -0000 Nat rule should be like this. map dc0 192.168.2.0/24 -> External_IP/32 alexus yazmış: > hi > > i cant figure something out, maybe someone can help me... > > i have two interfaces on my 7.0-RELEASE-p1 dc0 and fxp0, dc0 has > public IP, and fxp0 is internal, my ipnat.rules looks like this > > map dc0 192.168.2.0/24 -> 0/32 > > su-3.2# ipnat -l > List of active MAP/Redirect filters: > map dc0 192.168.2.0/24 -> 0.0.0.0/32 > > List of active sessions: > su-3.2# > > NAT on 192.168.2.0/24 doesn't seem to be working at all :( > > >