Date: Mon, 14 Feb 2000 22:00:58 -0500 From: "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com> To: Adam Wiggins <wiggins@treyarch.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: divert Message-ID: <20000214220058.C41631@cc942873-a.ewndsr1.nj.home.com> In-Reply-To: <200002141135.SM00233@adam>; from wiggins@treyarch.com on Mon, Feb 14, 2000 at 11:27:29AM -0800 References: <200002141135.SM00233@adam>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 14, 2000 at 11:27:29AM -0800, Adam Wiggins wrote: > > I'm having trouble getting NAT working with 3.4. Previously I had it > working fine with 2.2.7, and I'm setting both the systems up identically. > Mainly I set the proper options for natd_* in rc.conf, but the rc.firewall > command to add the divert line is failing. Doing it manually I see: > > # ipfw add 100 divert natd all from any to any via mx1 > 00100 divert 8668 ip from any to any via mx1 > ipfw: setsockopt(IP_FW_ADD): Invalid argument > # > > I'm running the stock kernel, which appears to have all the options I need > compiled in (namely, IPFIREWALL and IPDIVERT). > Natd is running fine using mx1 as the interface; so what's going on? If you mean the GENERIC kernel by "stock kernel," I don't know what you are looking at, but it does _not_ have IPFIREWALL and IPDIVERT included. That error also sure looks like you're missing ipfw(4) support in the kernel. -- Crist J. Clark cjclark@home.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?20000214220058.C41631>