Issues Setting Up IPFW
Mark McNeely
m4x_sterling at hotmail.com
Tue Dec 25 05:25:18 PST 2012
Hi,
I am trying to setup a simple firewall on DragonflyBSD, but I am having issues with it. When I type:
>firewall_enable="YES"
>firewall_type="/usr/local/etc/ipfw.conf"
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.
I have also tried loading ipfw at runtime, by typing:
>ipfw enable firewall
>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 properly.
Needless to say, I am a firewall noob. But, if anyone can offer some help, I would greatly appreciate it.
Thanks and Merry Christmas,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20121225/925acee7/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipfw.conf
Type: application/octet-stream
Size: 551 bytes
Desc: not available
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20121225/925acee7/attachment-0021.obj>
More information about the Users
mailing list