As a sample, check out the howto on compiling a kernel with mppe support (from pptpclient.sourceforge.net). James Cameron has done a great job a detailing the changed in order to recompile the kernel (but this was for pptp, simple enough to make your specific changes) as well as making the redistributable package for RH based kernels. I needed to rebuild my kernel for pptp_conntrack as well as mppe so I did it all at once. http://pptpclient.sourceforge.net/howto-redhat-80-build.phtml HTH, Gary > -----Original Message----- > From: netfilter-bounces@xxxxxxxxxxxxxxxxxxx [mailto:netfilter- > bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Wes Zhang > Sent: Wednesday, December 15, 2004 8:29 PM > To: netfilter@xxxxxxxxxxxxxxxxxxx > Subject: compile kernel with iptable support > > Hi, > > I am a newbie in iptable installation. While I was installing iptable > 1.2.11, what's KERNEL_DIR? Is it the kernel directory that used to > store the newly compiled kernel or kernel source code used to compile > iptable? > > I also have following questions. I compiled iptable by following as > instructed in INSTALLfile: > 1. make KERNEL_DIR="/boot" > 2. make install KERNEL_DIR="/boot" > But when I execute "iptables -A POSTROUTING -t NAT -o eth0 -j MASQUERADE" > " ./iptables -A POSTROUTING -t NAT -o eth0 -j MASQUERADE > iptables: target `MASQUERADE' v1.2.10 (I'm v1.2.11)." > > Looks like I am totally lost here. Can someone shed some light here? > > Thanks, > Wesley