Subject: Re: dumb port redirection
To: Wojciech Puchar <wojtek@chylonia.3miasto.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 06/03/2002 20:58:14
On Mon, Jun 03, 2002 at 09:14:38AM +0200, Wojciech Puchar wrote:
> is it possible to do such operation with ipf/ipnat:
> 
> we have router/NAT withreal address 1.2.3.4 and local machine with
> address 10.10.10.10.
> 
> if udp packet from 10.10.10.10 port 10000 goes to router, change it's
> header to be from 1.2.3.4 port 1234 and route
> 
> if udp packet comes to 1.2.3.4 port 1234 change it's header to be to
> 10.10.10.10 port 10000 and route
> 
> 
> 
> something like hardwired NAT, one IP/PORT to one IP/PORT mapping.

I guess it's what "bimap" is for ...

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--