From owner-freebsd-hackers Mon Jan 13 14:00:39 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA09062 for hackers-outgoing; Mon, 13 Jan 1997 14:00:39 -0800 (PST) Received: from cheops.anu.edu.au (avalon@cheops.anu.edu.au [150.203.76.24]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id OAA09054 for ; Mon, 13 Jan 1997 14:00:28 -0800 (PST) Message-Id: <199701132200.OAA09054@freefall.freebsd.org> Received: by cheops.anu.edu.au (1.37.109.16/16.2) id AA067442779; Tue, 14 Jan 1997 08:59:39 +1100 From: Darren Reed Subject: Re: IPFILTER To: chris@mail.bb.cc.wa.us (Chris Coleman) Date: Tue, 14 Jan 1997 08:59:39 +1100 (EDT) Cc: hackers@freebsd.org In-Reply-To: from "Chris Coleman" at Jan 12, 97 11:18:51 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In some mail from Chris Coleman, sie said: > > > > On Sun, 12 Jan 1997, Darren Reed wrote: > > > > I have two cards in the FBSD box. fxp0 and vx0 > > > fpx0 is 208.8.136.10 > > > vx0 is 10.16.14.1 > > > > > > i have a client on 10.16.14.100 and i want it to be translated to > > > a 208.8.136.10 address so that it can go out. > > > > echo "map fpx0 10.16.14.100/32 -> 208.8.136.10/32" | ipnat -f - > OK. i did this, and did a ipnat -l and it showed up. > I cant test it till tomorrow. But i have a few questions. > > Do i have to do this for each client? You can do: map fpx0 10.0.0.0/8 -> 208.8.136.10/32 portmaptcp/udp 10000:65000 Darren