Ipfirewall (ipfw) adalah IP packet filter pada FreeBSD dan fasilitas untuk traffic accounting . IPFW sudah termasuk dalam system FreeBSD. Tetapi untuk mengaktifkan harus di load dahulu module kernel nya pada rc.conf dengan perintah firewall_enable=”YES” .
koompile kernel FreeBSD untuk IPFW
Pastikan IPFW support belum terkompile pada kernel:
#ipfw list
Jika anda mendapatkan error seperti berikut ini, maka anda harus meng kompile ulang kernel FreeBSD anda.
ipfw: getsockopt(IP_FW_GET): Protocol not available