Subject: Re: "inside in" redirects with NAT?
To: Aaron J. Grier <agrier@poofygoof.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 09/25/2001 21:53:44
On Mon, Sep 24, 2001 at 11:30:17PM -0700, Aaron J. Grier wrote:
> I'm trying to get rid of my crufty linux NAT box with NetBSD 1.5.2.  can
> ipnat do "inside in" redirects?  will a rdr make my public IP accessible
> to machines on the inside of my network?
> 
> I'm thinking along the lines of:
> 
> rdr ep1 1.2.3.4/32 port 80 -> 10.0.0.2 port 80 tcp
> 
> will this make 1.2.3.4:80 accessible to internal hosts?  (it is not with
> my ancient 2.1.xxx linux, and it drives me crazy.  plus I'd like to
> start tinkering with IPv6...)

I'm not sure it will, but you may be able to put such a rdr on your
internal (10.0.0.0)  interface too. This may work ...

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