Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jun 1999 11:09:02 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        myers@iname.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: 'ipfw fwd' question: Shouldn't this work?
Message-ID:  <Pine.BSF.4.10.9906211107450.36767-100000@resnet.uoregon.edu>
In-Reply-To: <199906200546.WAA07308@sol.>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 19 Jun 1999 myers@iname.com wrote:

> 
> > This sounds like a job for natd more than ipfw fwd.  Are you running fake
> > IPs inside your network?
> 
> 
> natd didn't work either, though I'm perfectly willing to accept that I
> may have set it up wrong.  Fake IPs?  Let's call them unregistered. 
> 10.0.0.1 is the web server I want to forward packets to.  10.0.0.254 is
> the gateway, which maintains a legal IP address on its outward-looking
> interface.
> 
> The natd syntax goes something like 'natd -redirect_port "tcp
> 10.0.0.1:80 80"', I believe...

That's not all of it, but you have the redirect_port option right.  You
need the -n option to natd to specify the (exterior) interface to
translate on.

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.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?Pine.BSF.4.10.9906211107450.36767-100000>