Easy Question From Newbie

Ivan Levchenko levchenko.i at gmail.com
Fri Aug 18 14:27:00 UTC 2006


You need to either load the pf kernel module, which can be done by adding
pf_load="YES" to /boot/loader.conf (you may also load the module
without rebooting like this:
kldload pf) If you use the module, then altq will not work for you.

Or you may build a new kernel with the following options:
device pf
device pflog
device pfsync

and for altq:
options         ALTQ
options         ALTQ_CBQ        # Class Bases Queuing (CBQ)
options         ALTQ_RED        # Random Early Detection (RED)
options         ALTQ_RIO        # RED In/Out
options         ALTQ_HFSC       # Hierarchical Packet Scheduler (HFSC)
options         ALTQ_PRIQ       # Priority Queuing (PRIQ)
options         ALTQ_NOPCC      # Required for SMP build

You should remove the things that you don't need.

For more info (probably should have started with this) go to
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-pf.html

happy packet filtering!

On 8/18/06, beno - <purabachata at yahoo.com> wrote:
> Hi;
> What does this error mean?
>
> server167# pfctl -f /etc/pf.conf
> pfctl: /dev/pf: No such file or directory
>
> All the "pfctl" files I have are binaries, so of course I can't study them. There's no reference to "dev" in my pf.conf file. What do I do to satisfy this error?
> TIA,
> beno3
>
> ---------------------------------
> Do you Yahoo!?
>  Get on board. You're invited to try the new Yahoo! Mail Beta.
> _______________________________________________
> freebsd-pf at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe at freebsd.org"
>


-- 
Best Regards,

Ivan Levchenko
levchenko.i at gmail.com


More information about the freebsd-pf mailing list