Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2008 16:03:35 -0800
From:      Gavin Spomer <spomerg@cwu.EDU>
To:        freebsd-pf@freebsd.org
Subject:   How does /dev/pf get created?
Message-ID:  <4798B6D70200009000012FAB@hermes.cwu.edu>

next in thread | raw e-mail | index | archive | help
I have followed the instructions in the FreeBSD Handbook for implementing =
pf, but when I run pfctl -e, I get:

   pfctl: /dev/pf: No such file or directory".

I do an ls of /dev and sure enough, there's no pf device. I have googled =
for a couple of days (!) and my fingers are about to fall off and am =
losing my sanity. What do I have to do to get pf going?

Here is what I HAVE done:

1. I built a custom kernel following the instructions in the FreeBSD =
Handbook. Specifically for pf I added:
   device pf
   device pflog
   device pfsync

2. I added the following to /etc/rc.conf:
   pf_enable=3D"YES"
   pf_rules=3D"/etc/pf.conf"
   pf_flags=3D""
   pflog_logfile=3D"/var/log/pflog"

3. I rebooted and tried pfctl -e again. No dice. Grrrrr.

I am using 6.2-RELEASE. What's a guy gotta do to get a firewall around =
here? ;)

Gavin Spomer
Systems Programmer
Brooks Library
Central Washington Univerisity




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