Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Mar 2008 23:05:49 +0800
From:      "Cyberman Wu" <cyberman.wu@gmail.com>
To:        doc@FreeBSD.org
Subject:   I have some question about the description of IPFW in the handbook...
Message-ID:  <e87889bc0803300805w29c3a438t433f9f6bbac535e8@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
In 28.6.1 it says only adding firewall_enable="YES" in rc.conf will enable
IPFW, and the message will showed:
ipfw2 initialized, divert disabled, rule-based forwarding disabled, default
to deny, logging disabled

And when I did that I got some info like that:
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled,
default to deny, logging disabled

Only divert is different.

But when I try to use ipfw I got a error, just like the same before I
enable it in rc.conf:
ipfw: getsockopt(IP_FW_GET): Protocol not available

Before that I've tried to build a new kernel with 'options IPFIREWALL'
and it seemed can work:
after the new system booted all the network blocked, then I see the
way said in the handbook
and tried it.

I'v tried to search on the FreeBSD web site but got nothing about
that, and through google
the other sites only say I should recompile the kernel.

I'm a new user for FreeBSD, before that I've only used Fedora, and
many years ago, Redhat.
This time our web server running Win2003 got some problem and I'm
trying to shift it to FreeBSD.
Is there any good articles describing how to builder a reliable and
efficient web server?



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