DragonFly BSD
DragonFly users List (threaded) for 2012-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Issues Setting Up IPFW


From: Mark McNeely <m4x_sterling@xxxxxxxxxxx>
Date: Tue, 25 Dec 2012 08:25:18 -0500

--_09aa265d-e6b8-4cec-bb2d-c0c9c344bbd7_
Content-Type: multipart/alternative;
	boundary="_c9af1048-1095-4fc1-9345-ae79b14c5088_"

--_c9af1048-1095-4fc1-9345-ae79b14c5088_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Hi=2C

I am trying to setup a simple firewall on DragonflyBSD=2C but I am having i=
ssues with it.  When I type:
>firewall_enable=3D"YES"
>firewall_type=3D"/usr/local/etc/ipfw.conf"

into my rc.conf=2C the system will not boot.  The last message I get is som=
ething like:

>Configuring syscons.  Blanktime.=20

And then nothing else happens.  At first=2C I thought there was an issue wi=
th the rules in my ipfw.conf file.  However=2C when I comment out the firew=
all_type line and leave just the firewall_enable=3D"YES" line it still won'=
t boot.

I have also tried loading ipfw at runtime=2C 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=2C naturally=2C I am quite lost.  I have pared down my ipfw.conf to bare=
bones=2C and still can't seem to get it to work.  I will attach it=2C and h=
opefully=2C someone can point me in the right direction on how to set this =
up properly.

Needless to say=2C I am a firewall noob.  But=2C if anyone can offer some h=
elp=2C I would greatly appreciate it.

Thanks and Merry Christmas=2C
Mark
 		 	   		  =

--_c9af1048-1095-4fc1-9345-ae79b14c5088_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Tahoma
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>
Hi=2C<br><br>I am trying to setup a simple firewall on DragonflyBSD=2C but =
I am having issues with it.&nbsp=3B When I type:<br>&gt=3Bfirewall_enable=
=3D"YES"<br>&gt=3Bfirewall_type=3D"/usr/local/etc/ipfw.conf"<br><br>into my=
 rc.conf=2C the system will not boot.&nbsp=3B The last message I get is som=
ething like:<br><br>&gt=3BConfiguring syscons.&nbsp=3B Blanktime. <br><br>A=
nd then nothing else happens.&nbsp=3B At first=2C I thought there was an is=
sue with the rules in my ipfw.conf file.&nbsp=3B However=2C when I comment =
out the firewall_type line and leave just the firewall_enable=3D"YES" line =
it still won't boot.<br><br>I have also tried loading ipfw at runtime=2C by=
 typing:<br>&gt=3Bipfw enable firewall<br>&gt=3Bipfw add 00010 allow all fr=
om any to any via lo0<br><br>but then I get an error message:<br>&gt=3Bipfw=
: getsockopt(IP_FW_ADD): Protocol not available<br><br>So=2C naturally=2C I=
 am quite lost.&nbsp=3B I have pared down my ipfw.conf to barebones=2C and =
still can't seem to get it to work.&nbsp=3B I will attach it=2C and hopeful=
ly=2C someone can point me in the right direction on how to set this up pro=
perly.<br><br>Needless to say=2C I am a firewall noob.&nbsp=3B But=2C if an=
yone can offer some help=2C I would greatly appreciate it.<br><br>Thanks an=
d Merry Christmas=2C<br>Mark<br> 		 	   		  </div></body>
</html>=

--_c9af1048-1095-4fc1-9345-ae79b14c5088_--

--_09aa265d-e6b8-4cec-bb2d-c0c9c344bbd7_
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="ipfw.conf"

IyBGbHVzaCBvdXQgdGhlIGxpc3QgYmVmb3JlIHdlIGJlZ2luCmlwZncgLXEgLWYgZmx1c2gKCiMg
Tm8gcmVzdHJpY3Rpb25zIG9uIExvb3BiYWNrIEludGVyZmFjZQphZGQgMDAwMTAgYWxsb3cgYWxs
IGZyb20gYW55IHRvIGFueSB2aWEgbG8wCgojIEFsbG93IG91dCBhY2Nlc3MgdG8gbXkgSVNQJ3Mg
RG9taWFuIG5hbWUgc2VydmVyLgphZGQgMDAxMTAgYWxsb3cgdGNwIGZyb20gYW55IHRvIDE5Mi4x
NjguMS4xIDUzIG91dCB2aWEgdnIwCmFkZCAwMDExMSBhbGxvdyB1ZHAgZnJvbSBhbnkgdG8gMTky
LjE2OC4xLjEgNTMgb3V0IHZpYSB2cjAKCiMgQWxsb3cgb3V0IG5vbi1zZWN1cmUgc3RhbmRhcmQg
d3d3IGZ1bmN0aW9uCmFkZCAwMDIwMCBhbGxvdyB0Y3AgZnJvbSBhbnkgdG8gYW55IDgwIG91dCB2
aWEgdnIwCgojIEV2ZXJ5dGhpbmcgZWxzZSBpZCBkZW5pZWQgYnkgZGVmYXVsdAojZGVueSBhbmQg
bG9nIGFsbCBwYWNrZXRzIHRoYXQgZmVsbCB0aHJvdWdoIHRvIHNlZSB3aGF0IHRoZXkgYXJlCmFk
ZCAwMDk5OSBkZW55IGxvZyBhbGwgZnJvbSBhbnkgdG8gYW55Cgo=

--_09aa265d-e6b8-4cec-bb2d-c0c9c344bbd7_--



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]