$Id: INSTALL,v 1.5 2004/03/07 01:47:05 liquidk Exp $

Installation
============

 1. Copy the iptables headers to an appropriate place (/usr/include) or install
    the iptables-dev package if your distro has one. (see Installing iptables
    headers)

 2. Run make in order to compile iptables-p2p.

 3. Insert the kernel/ipt_p2p.o module directly using insmod or copy it into
    your modules directory.
	If you are using a 2.6 kernel, the module is named kernel/ipt_p2p.ko.

 4. Insert the iptables library libipt_p2p.so into the iptables lib directory
    (usually /lib/iptables).


Installing iptables headers
===========================

In case the distribution you are using doesn't install all iptables headers,
you will need to copy them by hand.

iptables doesn't install all it's headers with a make install or
make install-devel. You will need to download the iptables distribution
tarball from http://www.netfilter.org and copy all files and directories
inside iptables-1.2.x/include/ to the /usr/include/.

Example:
$ cp -a iptables-1.2.9/include/* /usr/include

