Subject: Re: tech-net : NAT 1:1 mappings
To: None <tech-net@netbsd.org>
From: Greg A. Woods <woods@most.weird.com>
List: tech-net
Date: 04/04/1999 13:57:47
Chris Jones <cjones@rupert.honors.montana.edu>,wrote on Apr 02, 1999 at 11:26 -0700: 
> 
> I'm trying to get NAT working with a 1:1 mapping of external to
> internal IP addresses.  I'd like to get it to pass through incoming
> connections to the appropriate internal IP.
>[[....]]
> If I use a "map" rule in ipnat.conf, it only works for outgoing
> connections.  Once the connection is established, packets can go in
> both directions; but I'd like it to allow incoming connections, too.

Use "bimap" (bi-directional map) instead of "map".

Some how or another this feature was never documented or used in
examples, at least not up to 3.2.10....

In the latest beta the manual page says:

       bimap    for setting up bidirectional NAT between an external IP
                address and an internal IP address

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>      <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>