Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 1997 13:27:33 -0700 (PDT)
From:      Archie Cobbs <archie@whistle.com>
To:        kenth@HNS.St-Louis.Mo.US (Kent Hamilton)
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: ipfw problem in 2.2.2
Message-ID:  <199709032027.NAA09505@bubba.whistle.com>
In-Reply-To: <199709031343.IAA25280@gwydion.hns.st-louis.mo.us> from Kent Hamilton at "Sep 3, 97 08:43:10 am"

next in thread | previous in thread | raw e-mail | index | archive | help

> Hmmm, I thought I sent this last night but I never saw it anywhere so
> I'll try again....
> 
> I'm trying to use ipfw for the first time, and I've done the following:
>   1.  Rebuild the kernel with:
>       options	IPFIREWALL
>       options	IPFIREWALL_VERBOSE
>       options	IPDIVERT
>       options	"IPFIREWALL_VERBOSE_LIMIT=50"
>   2.  Changed rc.conf to firewall="simple"
>   3.  Heavily modified rc.firewall
>   4.  Reboot the box.
> 
> As soon as I try to load rules I get this:
> /sbin/ipfw add 100 divert natd all from any to any via vx0
> 00100 ... rule here
> ip_fw_ctl: neither in or out
> [IP_FW_CTL] Invalid Argument

Probably your kernel source is not consistent with your ipfw source,
in which case you need to re-compile and re-install the ipfw program
based on the newer (or older?) sources.

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709032027.NAA09505>