2 This file is for use with FreeBSD 4.x and 5.x only.
4 To build a kernel for use with the loadable kernel module, follow these
6 1. For FreeBSD version:
10 2. do "make install-bsd"
11 (probably has to be done as root)
17 5. install and reboot with the new kernel
19 6. use modload(8) to load the packet filter with:
22 7. do "modstat" to confirm that it has been loaded successfully.
24 There is no need to use mknod to create the device in /dev;
25 - upon loading the module, it will create itself with the correct values,
26 under the name (IPL_NAME) from the Makefile. It will also remove itself
27 from /dev when it is modunload'd.
29 To build a kernel with the IP filter, follow these steps:
31 1. For FreeBSD version:
35 2. do "make install-bsd"
36 (probably has to be done as root)
38 3. run "FreeBSD/kinstall" as root
43 b) If you are using FreeBSD-3 or later:
44 create devices for IP Filter as follows (assuming it was
45 installed into the device table as char dev 20):
47 mknod /dev/ipnat c 79 1
48 mknod /dev/ipstate c 79 2
49 mknod /dev/ipauth c 79 3
50 mknod /dev/ipsync c 79 4
51 mknod /dev/ipscan c 79 5
53 6. install and reboot with the new kernel