From owner-freebsd-questions Thu Oct 4 14: 1: 9 2001 Delivered-To: freebsd-questions@freebsd.org Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by hub.freebsd.org (Postfix) with ESMTP id 41E7437B401 for ; Thu, 4 Oct 2001 14:01:07 -0700 (PDT) Received: from blossom.cjclark.org (dialup-209.245.132.25.Dial1.SanJose1.Level3.net [209.245.132.25]) by pintail.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id OAA12303; Thu, 4 Oct 2001 14:01:05 -0700 (PDT) Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id f94L12n01591; Thu, 4 Oct 2001 14:01:02 -0700 (PDT) (envelope-from cjc) Date: Thu, 4 Oct 2001 14:01:02 -0700 From: "Crist J. Clark" To: jan Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ipnat just ICMP traffic Message-ID: <20011004140102.G297@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <9pif7m$b1l$1@news1.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <9pif7m$b1l$1@news1.xs4all.nl>; from j.baggen@stl-group.com on Thu, Oct 04, 2001 at 10:01:57PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Oct 04, 2001 at 10:01:57PM +0200, jan wrote: > How to remap only ICMP packets with ipnat enabled? > > /etc/ipnat.conf > --- > map xl1 10.224.1.14/32 -> 212.125.x.x/32 > map-block xl1 10.224.1.14/32 -> 212.125.x.x/32 portmap tcp/udp 0:65000 > --- > > Is the above example correct ? No, it is not. For several reasons. It is hard to say how to do it since I am not really sure I understand what you want to do. -- Crist J. Clark cjclark@alum.mit.edu cjclark@jhu.edu cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message