All of lore.kernel.org
 help / color / mirror / Atom feed
* compile kernel with iptable support
@ 2004-12-16  4:29 Wes Zhang
  0 siblings, 0 replies; 2+ messages in thread
From: Wes Zhang @ 2004-12-16  4:29 UTC (permalink / raw)
  To: netfilter

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: compile kernel with iptable support
@ 2004-12-16  6:08 Gary W. Smith
  0 siblings, 0 replies; 2+ messages in thread
From: Gary W. Smith @ 2004-12-16  6:08 UTC (permalink / raw)
  To: Wes Zhang, netfilter

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@lists.netfilter.org [mailto:netfilter-
> bounces@lists.netfilter.org] On Behalf Of Wes Zhang
> Sent: Wednesday, December 15, 2004 8:29 PM
> To: netfilter@lists.netfilter.org
> 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-12-16  6:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-16  4:29 compile kernel with iptable support Wes Zhang
  -- strict thread matches above, loose matches on Subject: below --
2004-12-16  6:08 Gary W. Smith

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.