0d831fbf60
Packet Filter (from here on referred to as PF) is OpenBSD's system for filtering TCP/IP traffic and doing Network Address Translation. PF is also capable of normalizing and conditioning TCP/IP traffic. PF was originally developed by Daniel Hartmeier and is now maintained and developed by Daniel and the rest of the OpenBSD team. This package includes a complete port (LKM and userland utilities) from OpenBSD 3.6 to NetBSD 2.0.
18 lines
505 B
Text
18 lines
505 B
Text
===========================================================================
|
|
$NetBSD: MESSAGE,v 1.1.1.1 2004/11/05 15:05:30 peter Exp $
|
|
|
|
First create the /dev/pf device:
|
|
|
|
# cd /dev
|
|
# ./MAKEDEV pf
|
|
|
|
Then load the kernel module:
|
|
|
|
# modload ${PREFIX}/lkm/pf.o
|
|
|
|
If you want PF to get loaded automatically at boot time, you need to set
|
|
lkm=YES in /etc/rc.conf and add this line to /etc/lkm.conf:
|
|
|
|
${PREFIX}/lkm/pf.o - - - - AFTERMOUNT
|
|
|
|
===========================================================================
|