Date: Thu, 24 Jan 2008 17:17:48 -0800 (PST) From: Tommy Pham <tommyhp2@yahoo.com> To: freebsd-pf@freebsd.org Subject: Re: How does /dev/pf get created? Message-ID: <340877.6112.qm@web38214.mail.mud.yahoo.com> In-Reply-To: <4798B6D70200009000012FAB@hermes.cwu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Gavin, Check your /etc/make.conf. I remember that you can disable it if NO_PF=YES is not commented out. Also, I remember reading it somewhere that pf requires 'device bpf' in the kernel (which you might want to check for that too). I presume you used a copy of GENERIC kernel file and comment out what you don't need...? If so, did you specify the kernel file name in the /etc/make.conf or in the command line KERNCONF=<filename>? Regards, Tommy --- Gavin Spomer <spomerg@cwu.EDU> wrote: > 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="YES" > pf_rules="/etc/pf.conf" > pf_flags="" > pflog_logfile="/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 > > _______________________________________________ > freebsd-pf@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-pf > To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?340877.6112.qm>