Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jan 2002 14:31:01 -0800
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        Brett <brett@modlogic.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ipfw fwd commands with nat
Message-ID:  <20020103143101.C236@gohan.cjclark.org>
In-Reply-To: <001101c1940b$cf7e8150$0301a8c0@brettxp>; from brett@modlogic.com on Wed, Jan 02, 2002 at 11:04:58PM -0500
References:  <001101c1940b$cf7e8150$0301a8c0@brettxp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 02, 2002 at 11:04:58PM -0500, Brett wrote:
> Hello,
> 
> I'm having problems with the fwd or divert commands with ipfw to point
> to my internal network.  
> 
> If someone could reply off-list, that would be appreciated.
> 
> Here's a little info.
> External IP
> 24.xxx.xxx.xxx
> Internal 192.168.1.1
> 
> So far, the ipfw rules are pretty bare bones.
> 
> f flush
> add  divert natd all from any to any via dc1
> add  pass all from any to any

You don't want to use ipfw(8) commands to redirect traffic onto your
internal network, you want to configure natd(8) to do it. Your subject
might be a hint to your problems, ipfw(8) 'fwd' rules have nothing
to do with NAT.
-- 
"It's always funny until someone gets hurt. Then it's hilarious."

Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020103143101.C236>