From owner-freebsd-questions Fri Jan 17 7:46:14 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C46837B405 for ; Fri, 17 Jan 2003 07:46:13 -0800 (PST) Received: from mailgate1.sover.net (mailgate1.sover.net [209.198.87.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64B2D43F43 for ; Fri, 17 Jan 2003 07:46:12 -0800 (PST) (envelope-from reytech@sover.net) Received: from granite.sover.net (granite.sover.net [209.198.87.33]) by mailgate1.sover.net (8.11.6/8.11.6) with ESMTP id h0HFk8v27803; Fri, 17 Jan 2003 10:46:09 -0500 (EST) Date: Fri, 17 Jan 2003 10:46:08 -0500 (EST) From: "Stephen D. Kingrea" To: Bill Moran Cc: freebsd-questions@FreeBSD.ORG Subject: Re: different ipfw/natd prob In-Reply-To: <3E2823FB.1060908@potentialtech.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG i agree. it does seem that i need to recompile: www# ipfw add diver natd all from any to any via dc0 ip_fw_ctl: invalid command ipfw: getsockopt(IP_FW_ADD): Invalid argument would seem to indicate this.. i shall commence, as per yours and JoeB's suggestion and report back thank you both.... stephen d. kingrea On Fri, 17 Jan 2003, Bill Moran wrote: >Stephen D. Kingrea wrote: >> oh, this looks bad.... before i do that, i should mention that in the >> meantime, i tried to add a divert rule and got >> >> ip_fw_ctl: invalid command >> >> on boot, i get >> >> IP packet filtering initialized, divert disabled, rule-based forwarding >> enabled, default to deny, logging disabled > >Sounds like you need to recompile your kernel with IPDIVERT (as someone >else pointed out) > >-- >Bill Moran >Potential Technologies >http://www.potentialtech.com > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message