From owner-freebsd-questions Wed Jan 24 5:37:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from danablue.vision.auc.dk (danablue.miba.auc.dk [130.225.49.152]) by hub.freebsd.org (Postfix) with ESMTP id 8451137B404 for ; Wed, 24 Jan 2001 05:37:06 -0800 (PST) Received: from ninka.miba.auc.dk (ninka.miba.auc.dk [130.225.49.13]) by danablue.vision.auc.dk (8.10.1/8.10.1) with ESMTP id f0ODaoR16965; Wed, 24 Jan 2001 14:36:50 +0100 (MET) Received: (from madsp@localhost) by ninka.miba.auc.dk (8.10.1/8.10.1) id f0ODamn20654; Wed, 24 Jan 2001 14:36:48 +0100 (MET) To: "Andrew J. Siegel" Cc: "Freebsd-Questions (E-mail)" Subject: Re: ipfw/nat References: <000801c0857c$f7a5efe0$768a0218@htfdw1.ct.home.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit From: Mads Hugo Pedersen Date: 24 Jan 2001 14:36:48 +0100 In-Reply-To: <000801c0857c$f7a5efe0$768a0218@htfdw1.ct.home.com> Message-ID: <4w3lms1137z.fsf@ninka.miba.auc.dk> Lines: 26 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 23 Jan 2001, Andrew J. Siegel stated: > Alright just installed 4.2 w/ sysinstall....added options IPFIREWALL > options IPDIVER options IPFIREWALL_FORWARD all to my kernnel config > (icebox2) config'd and compile....did sysctl -a | grep fw...and > fw.enable is set to 1....ipfw show issues one allow all for static > commands, and something unknown for dynamic commands.. > > try adding ipfw add 500 divert natd all from any to any via rl0 > > and receive error: > ipfw: getsockopt(IP_FW_ADD) INVALID ARGUMENT > > what's going on I had the exately same error last night. I compiled a new kernel, but forgot that i have updated the source. So I had to make buildworld before i could continue. It is working perfectly nice now... /M@ds -- Those who write "Optimized for Netscape" or "Best viewed with MSIE" never figured out the difference between the WWW and a Word Perfect 4.2 Document... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message