From owner-freebsd-questions Sat Nov 3 20:44:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail12.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id EAE1C37B406 for ; Sat, 3 Nov 2001 20:44:57 -0800 (PST) Received: (qmail 89005 invoked from network); 4 Nov 2001 04:44:51 -0000 Received: from unknown (HELO z5w4q9) ([66.92.216.5]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 4 Nov 2001 04:44:51 -0000 Message-ID: <003301c164eb$26fb9a80$05d85c42@kibserv.org> From: "Jason Cribbins" To: Subject: Unable to get natd/ipfw to work properly Date: Sat, 3 Nov 2001 23:41:58 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 Can someone help me past this error I am getting when trying to use natd and ipfw Nov 4 04:24:33 mail /kernel: IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to deny, logging disabled Nov 4 04:24:33 mail /kernel: ip_fw_ctl: invalid command I also get the same error when I enter: # ipfw add divert 32000 ip from any to any via lnc0 ipfw: getsockopt(IP_FW_ADD): Invalid argument I am working off information from more than one source including FreeBSD Handbook, FreeBSD Diaries and a FreeBSD book. Each has a somewhat different way to set this up and I have tried each individually without any success. the one thing in common between them is usually the ipfw command and thats the one thing that fails every single time. Any ideas? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message