ipfw

fbsd fbsd at a1poweruser.com
Sat Apr 15 03:22:28 UTC 2006


you are wrong in giving this guy incorrect info.
ipfw can be run just by adding correct statement to rc.conf
it does not have to be compiled into kernel
maybe you should read the firewall section first before giving
advice

-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Daniel Bye
Sent: Friday, April 14, 2006 11:02 PM
To: freebsd-questions at freebsd.org
Subject: Re: ipfw


On Sat, Apr 15, 2006 at 05:46:34AM -0700, nirvana - Cityshells.NET
wrote:
> Hello,
> when i type ipfw show/list i got this error msg
> ipfw: getsockopt(IP_FW_GET): Protocol not available
>
> how i can let ipfw work.
> Thanks

You need to recompile your kernel with the following options:

options         IPFIREWALL
options         IPFIREWALL_VERBOSE
options         IPFIREWALL_VERBOSE_LIMIT=1000

(Change the value for IPFIREWALL_VERBOSE_LIMIT to suit your own
needs).

You also need to read the ipfw man page, and the bit of the handbook
about ipfw at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-
ipfw.html

HTH,

Dan

--
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622
166A

_
                                              ASCII ribbon campaign
( )
                                         - against HTML, vCards and
X
                                - proprietary attachments in e-mail
/ \



More information about the freebsd-questions mailing list