Hello, I am trying to compile IPFW into FreeBSD Kernel:
Copy default kernel file:
Add IPFW support:
Save and close the file. Building a Kernel, type following commands bur I get this error.
What I am doing wrong?
Code:
# grep IPFIREWALL /usr/src/sys/ia64/conf
Building and Installing a Custom Kernel with IPFW
Copy default kernel file:
Code:
# cd /usr/src/sys/ia64/conf
# cp GENERIC IPFWKERNEL
Add IPFW support:
Code:
# vi IPFWKERNEL
Append following directives:
options IPFIREWALL # required for IPFW
options IPFIREWALL_VERBOSE # optional; logging
options IPFIREWALL_VERBOSE_LIMIT=10 # optional; don't get too many log entries
options IPDIVERT # needed for natd
Save and close the file. Building a Kernel, type following commands bur I get this error.
Code:
# cd /usr/src
# make buildkernel KERNCONF=IPFWKERNEL
ERROR: Missing kernel configuration file(s) (IPFWKERNEL).
*** [buildkernel] Error code 1
Stop in /usr/src.
*** [buildkernel] Error code 1
Stop in /usr/src.
What I am doing wrong?