Subject: Re: forwarding a range of ports with ipnat
To: None <netbsd-users@netbsd.org>
From: Juha K Kallio <bunnyh@psychedelic.baana.suomi.net>
List: netbsd-users
Date: 08/21/2003 09:52:43
On Thu, Aug 21, 2003 at 08:47:07AM +0200, Christoph Kaegi wrote:
> 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
> ----------------------------------------------------------------------

The point is, I want ports 2300-2400 forwarded, and the others to function normally. I really don't
intend to break ssh, email etc.