12.5. IPTables-1.3.7

iptables is the userspace command line program used to configure the Linux firewall.

12.5.1. Installation of iptables

Fixes Compile Issue with DO_MULTI=1:

patch -Np1 -i ../iptables-1.3.7-do_multi-1.patch

Compile the package:

make CC="${CC} ${BUILD}" COPT_FLAGS="-Os" LD=${LD} DO_MULTI=1 PREFIX=/usr \
    KERNEL_DIR=${CLFS}/lib/modules/2.6.20.1/build LIBDIR=/lib BINDIR=/sbin

Install the package:

make CC="${CC} ${BUILD}" COPT_FLAGS="-Os" LD=${LD} DO_MULTI=1 PREFIX=/usr \
    KERNEL_DIR=${CLFS}/lib/modules/2.6.20.1/build LIBDIR=/lib BINDIR=/sbin \
    DESTDIR=${CLFS} install

12.5.2. Contents of iptables

Installed programs: To be Written