Date: Mon, 30 Apr 2001 21:54:27 -0500 (CDT) From: Nick Rogness <nick@rogness.net> To: John Heyer <john@snake.supranet.net> Cc: questions@FreeBSD.ORG Subject: Re: ipfw and natd in FreeBSD 4.3 Message-ID: <Pine.BSF.4.21.0104302153360.83981-100000@cody.jharris.com> In-Reply-To: <Pine.BSF.4.21.0104301852450.49205-100000@snake.supranet.net>
index | next in thread | previous in thread | raw e-mail
On Mon, 30 Apr 2001, John Heyer wrote:
>
> When I have the following line in my ipfw rules, I get an error and the
> rule doesn't load in 4.3-RELEASE.
>
> ${fwcmd} add 50 divert natd all from any to any via fxp0
>
> > sh /etc/rc.firewall.custom
> Flushed all rules.
> 60000 allow ip from any to any
> ipfw: getsockopt(IP_FW_ADD): Invalid argument
> 60100 allow tcp from any to any established
>
> What should I be using to startup natd? The man page for natd still says
> I should be using ipfw
You need to build a kernel with:
options IPDIVERT
See the handbook for infor on how to build a kernel.
Nick Rogness <nick@rogness.net>
- Keep on Routing in a Free World...
"FreeBSD: The Power to Serve!"
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0104302153360.83981-100000>
