Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Dec 1999 13:06:52 -0800 (PST)
From:      "Brian W. Buchanan" <brian@CSUA.Berkeley.EDU>
To:        Emre <emre@iris.vsrc.uab.edu>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: IPFW
Message-ID:  <Pine.BSF.4.10.9912271305350.41742-100000@smarter.than.nu>
In-Reply-To: <19991227145203.A29810@iris.vsrc.uab.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 27 Dec 1999, Emre wrote:

> Hi,
> 
> I apologize if this question is not appropriate for this list but...
> 
> I just installed FreeBSD 4.0-CURRENT (19991226) on a box.  I also recompiled
> the kernel so it would support SMP.  All I basicly did is change two lines
> concerning SMP in the GENERIC kernel (I followed the handbook).  The box
> is running just fine and I am very pleased with it.  Here is the problem:
> 
> I'm trying to firewall it using ipfw, when I issue the command
> 
> ipfw add deny udp from any to any 1-2200
> 
> I get 
> 
> 00000 deny udp from any to any 1-2200
> ipfw: setsockopt(IP_FW_ADD): Protocol not available

Add the line:

options IPFIREWALL

to your kernel config and recompile.  See LINT for documentation and other
options you may wish to consider.  IP Firewalling is not enabled by
default in GENERIC.

-- 
Brian Buchanan                                     brian@CSUA.Berkeley.EDU
--------------------------------------------------------------------------
FreeBSD - The Power to Serve!                       http://www.freebsd.org




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9912271305350.41742-100000>