Subject: Re: forwarding a range of ports with ipnat
To: None <netbsd-users@netbsd.org>
From: Christoph Kaegi <kgc@zhwin.ch>
List: netbsd-users
Date: 08/21/2003 08:47:07
On 20.08-14:31, Juha K Kallio wrote:
> On Mon, Aug 18, 2003 at 12:42:46AM +0200, Schamil Wackenhut wrote:
> > * Juha K Kallio wrote:
> > 
> > > The ipnat rdr  command does not accept 2300:2400,
> > 
> > No. How can your ipnat decide, to which port should it redirect the 
> > query?
> > 
> > > nor does the bimap command.
> > 
> > bimap should do the thing. Do you read ipnat(5) already?
> > 
> 
> It should forward the queries to the respective ports, of course. Yes, bimap would do the trick, and much
> else too. I don't want to forward *everything*, just 2300-2400, but bimap doesn't seem to support that.

Additionally to bimap, you could block everything except 2300-2400
with ipf.

Regards
Chris

-- 
----------------------------------------------------------------------
Christoph Kaegi                                           kgc@zhwin.ch
----------------------------------------------------------------------