Next Previous Contents

2. Fast Guide

In a hurry? Here's the executive summary.

2.1 Building netfilter

  1. Get the latest source from ftp://ftp.rustcorp.com/netfilter.
  2. If your kernel doesn't have netfilter patched into it already, apply the kernel patch in the netfilter source.
  3. Configure your kernel with CONFIG_NETFILTER, and build it.
  4. Unpack the netfilter release.
  5. Do
    $ make KERNEL_DIR=/usr/src/linux
    
    Change KERNEL_DIR to wherever your netfilter-enabled kernel source is.
  6. Do (as root)
    $ make install
    

2.2 Using ipfwadm and ipchains

After you've done the above, running `insmod ipfwadm.o' or `insmod ipchains.o' as root should allow you to use ipfwadm or ipchains normally, as before.


Next Previous Contents