<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi,<br><br>I am trying to setup a simple firewall on DragonflyBSD, but I am having issues with it. When I type:<br>>firewall_enable="YES"<br>>firewall_type="/usr/local/etc/ipfw.conf"<br><br>into my rc.conf, the system will not boot. The last message I get is something like:<br><br>>Configuring syscons. Blanktime. <br><br>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.<br><br>I have also tried loading ipfw at runtime, by typing:<br>>ipfw enable firewall<br>>ipfw add 00010 allow all from any to any via lo0<br><br>but then I get an error message:<br>>ipfw: getsockopt(IP_FW_ADD): Protocol not available<br><br>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.<br><br>Needless to say, I am a firewall noob. But, if anyone can offer some help, I would greatly appreciate it.<br><br>Thanks and Merry Christmas,<br>Mark<br> </div></body>
</html>