Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2002 22:33:33 -0700
From:      "Crist J. Clark" <>
To:        Naga Suresh B <>
Cc:        freebsd-ipfw@FreeBSD.ORG
Subject:   Re: problem with portforwarding
Message-ID:  <>
In-Reply-To: <004d01c232d3$352683c0$9600a8c0@blraddrcom>
References:  <004d01c232d3$352683c0$9600a8c0@blraddrcom>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
[-security snipped, this has nothing to do with -security. It is
probably better for -questions than -ipfw too, but I'll not change

On Wed, Jul 24, 2002 at 11:00:20AM +0530, Naga Suresh B wrote:
> Hai,
>               We are facing a problem in configuring the portforwarding on
> our gateway. We are having a gateway with two network cards one with
> external ip( and another one with internal
> ip( We Created an alias ip for another external
> ip( and we had done portforwarding  443 to another internal
> ip ( on another fbsd machine. We added the following line in
> the natd.conf on
> redirect_port tcp
> redirect_port tcp
> We are running ipfw on the  We are running httpd on both the
> machines. After doing portforwarding when we are trying to access the
> application from outside is working fine. But we are not
> able to access the application on 172  from inside with public ip and we are
> able to access the application with Also the name does not
> resolve for the IP from the internal network where as the
> same thing happens from outside. How do we solve this? Please Give the
> solution as early as possible and plz help us.

This is a FAQ,

There are a number of ways to solve this. The two most common are two
invoke another natd(8) on the internal interface or to properly
configure DNS to resolve to different IPs for the same hostname
depending on which network the query comes. Your DNS issue is
completely separate and has nothing to do with NAT.
Crist J. Clark                     |
                                   |    |

To Unsubscribe: send mail to
with "unsubscribe freebsd-ipfw" in the body of the message

Want to link to this message? Use this URL: <>