Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jan 1997 08:59:39 +1100 (EDT)
From:      Darren Reed <avalon@coombs.anu.edu.au>
To:        chris@mail.bb.cc.wa.us (Chris Coleman)
Cc:        hackers@freebsd.org
Subject:   Re: IPFILTER
Message-ID:  <199701132200.OAA09054@freefall.freebsd.org>
In-Reply-To: <Pine.BSF.3.91.970112111442.2007A-100000@mail.bb.cc.wa.us> from "Chris Coleman" at Jan 12, 97 11:18:51 am

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701132200.OAA09054>