Install IPP2P in Debian Etch

Posted: September 1, 2009 in Debian

You have to complie kernel headers and iptables

To compile ipp2p you need to install the kernel headers and iptables headers.

aptitude install linux-headers-$(uname -r)  iptables-dev

Download ipp2p source from their website


Untar the file and download Gentoo’s kernel patch for ipp2p

cd ../ipp2p-0.8.2



Apply the patch for ipp2p

patch -p1 < ipp2p-0.8.2-kernel-2.6.22.patch
patch -p1 < ipp2p-0.8.2-iptables-1.4.0.patch

Modify the Makefile file

pico Makefile

and change:

ld -shared -o libipt_ipp2p.o


$(CC) -shared -o libipt_ipp2p.o

Compile ipp2p :


Copy libraries

cp /lib/iptables/
cp ipt_ipp2p.ko /lib/modules/2.6.18-6-686/kernel/net/netfilter/

and run

depmod -a

IPP2P is now installed, you can check using this command:

iptables -m ipp2p –help

  1. hideaki says:

    Long long replaced by xtables-addons’s xt_ipp2p.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s