Download and Install

In order to use IP sets, you need the following sources

Please note, the ipset source supports kernels released by kernel.org. It may or may not work on distribution-specific kernel sources.

The installation requires the following steps

  • it is assumed that you have got the kernel source tree, configured and at least the modules compiled
  • donwload and unpack the source
  • run KERNEL_DIR=<your-kernel-dir> make to compile the userspace tool and the kernel modules
  • run KERNEL_DIR=<your-kernel-dir> make install to install the ipset userspace tool and the kernel modules
and ready!

Read the ipset and iptables man pages before exploring the world of IP sets.