Skip to contentSkip to conversation

compile kernel with iptable support

DISCUSSION Wes Zhang 1 participant 1 message Dec 16, 2004

lore
Share & tools
lore

Wes Zhang

author
#0 lore raw

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