From owner-freebsd-questions Tue Oct 20 16:40:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA17857 for freebsd-questions-outgoing; Tue, 20 Oct 1998 16:40:19 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA17849 for ; Tue, 20 Oct 1998 16:40:13 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from ben by scientia.demon.co.uk with local (Exim 2.05 #3) id 0zVieW-0000Zo-00; Tue, 20 Oct 1998 21:45:12 +0100 Date: Tue, 20 Oct 1998 21:45:12 +0100 From: Ben Smithurst To: rdmurphy@vt.edu Cc: dwhite@resnet.uoregon.edu, FreeBSD-Questions@FreeBSD.ORG Subject: Re: natd setup Message-ID: <19981020214512.A312@scientia.demon.co.uk> References: <199810201735.NAA00622@neale.econ.vt.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <199810201735.NAA00622@neale.econ.vt.edu> User-Agent: Mutt/0.94.12i (FreeBSD 3.0-CURRENT i386) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Russell D. Murphy wrote: > neale# ipfw add divert natd all from any to any via de0 > 00000 divert 8668 ip from any to any via de0 > ipfw: setsockopt(IP_FW_ADD): Invalid argument Make sure your kernel is in sync with ipfw. Assuming you have recently rebuilt your kernel, you may have to re-install the .h files from /usr/src/include and rebuild the ipfw program (/usr/src/sbin/ipfw). Sorry if you've done this already, I've missed half of this thread, but I had a similar problem and rebuilding ipfw fixed it. -- Ben Smithurst ben@scientia.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message