DragonFly users List (threaded) for 2012-12
Re: Issues Setting Up IPFW
On Tue, Dec 25, 2012 at 9:25 PM, Mark McNeely <firstname.lastname@example.org> wrote:
> I am trying to setup a simple firewall on DragonflyBSD, but I am having
> issues with it. When I type:
> into my rc.conf, the system will not boot. The last message I get is
> something like:
>>Configuring syscons. Blanktime.
> And then nothing else happens. At first, I thought there was an issue with
> the rules in my ipfw.conf file. However, when I comment out the
> firewall_type line and leave just the firewall_enable="YES" line it still
> won't boot.
You will need to
IPFW is not compiled into GENERIC or X86_64_GENERIC by default.
> I have also tried loading ipfw at runtime, by typing:
>>ipfw enable firewall
You don't need to explicitly enable it. It is enabled by default once
you load the ipfw.ko
>>ipfw add 00010 allow all from any to any via lo0
> but then I get an error message:
>>ipfw: getsockopt(IP_FW_ADD): Protocol not available
> So, naturally, I am quite lost. I have pared down my ipfw.conf to
> barebones, and still can't seem to get it to work. I will attach it, and
> hopefully, someone can point me in the right direction on how to set this up
> Needless to say, I am a firewall noob. But, if anyone can offer some help,
> I would greatly appreciate it.
> Thanks and Merry Christmas,
Tomorrow Will Never Die