Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Feb 2002 09:02:31 -0800 (PST)
From:      Ken Bolingbroke <hacker@bolingbroke.com>
To:        Shawn Dillon <lansol@telusplanet.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Natd,ipfw,vnc and multiple interfaces
Message-ID:  <20020216085519.E91586-100000@fremont.bolingbroke.com>
In-Reply-To: <004b01c1b703$21b26990$05e6b38e@lantechhome>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sat, 16 Feb 2002, Shawn Dillon wrote:

> One more question. I remember a post on starting natd and getting a 'unable
> to bind divert address" error because natd was already in use. How does this
> affect starting multiple natd daemons.
>
> And thanks for the response thus far.

Use the -p option to natd to specify a different port to listen on, and
then use that new port in your ipfw rules as well.  That is, the
respective natd and ipfw rules might look something like:

 natd -n fxp0
 add divert natd all from any to any via fxp0

 natd -n fxp1 -p 8669
 add divert 8669 all from any to any via fxp1

Ken Bolingbroke
hacker@bolingbroke.com


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?20020216085519.E91586-100000>