Re: /dev/pf



On Tue, 29 Apr 2008 20:53:56 UTC, YANSWBVCG
<daf@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Martin Etteldorf <etteldor@xxxxxxxx> wrote:
dfeustel@xxxxxxxxxxxxxx wrote:
I use pf on OpenBSD with no problem. But on FreeBSD
there is /dev/pf, of which I do not know the purpose.
How do initialize /dev/pf so that pfctl -e -f abc
works? (Also, where is pf.conf?)

You did read the manpages of pf(4) and pfctl(8), didn't you?
What part of them exactly didn't you understand?

Martin


Yes, I read the man pages. pfctl -e reports an error with /dev/pf.
/dev/pf is not used on OpenBSD and I do not understand what I need
to do to initialize /dev/pf on FreeBSD (Why is it needed?)

Did you read the instructions in the FreeBSD Handbook? In particular,
did you pu pf_enable="YES" into rc.conf?

The manual page for pfctl actually tells you where pf.conf is.

--
Bob Eager
UNIX since v6..
http://tinyurl.com/2xqr6h

.