Linux Netfilter discussions
 help / color / mirror / Atom feed
* linux-2.6.21 iptables and NAT
@ 2007-06-07 21:42 John Zavgren
  2007-06-24 12:51 ` Martijn Lievaart
  0 siblings, 1 reply; 2+ messages in thread
From: John Zavgren @ 2007-06-07 21:42 UTC (permalink / raw)
  To: netfilter

I'm trying to build NAT functionality into the 2.6.21 kernel but it
seems to have been stripped out.

The default 2.6.15 kernel that comes with Fedora Core 5 contains the
following parameter setting:
CONFIG_IP_NF_NAT=m

I cannot activate such a "rule" in 2.6.21. The complete list of options
is:
# IP: Netfilter Configuration
#
CONFIG_IP_NF_QUEUE=m
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_IPRANGE=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_RECENT=m
CONFIG_IP_NF_MATCH_ECN=m
# CONFIG_IP_NF_MATCH_AH is not set
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_MATCH_ADDRTYPE=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_TARGET_ULOG=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_TOS=m
CONFIG_IP_NF_TARGET_ECN=m
CONFIG_IP_NF_TARGET_TTL=m
CONFIG_IP_NF_RAW=m
CONFIG_IP_NF_ARPTABLES=m

Of course... if I try to set up a NAT rule with iptables... it fails:

[root@adrastea linux-2.6.21]# iptables -t nat -L
iptables v1.3.7: can't initialize iptables table `nat': Table does not
exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

because there is no KLM for nat.... nor can I build it.

What's going on here?

RSVP
and
Thanks!


John Zavgren
john@zavgren.com
603-371-0513 (home)
603-801-2094 (mobile)

Vote in the National Cheney Impeachment Poll
http://www.usalone.com/blogvoices.php?Cheney%20Impeachment%3F




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

* Re: linux-2.6.21 iptables and NAT
  2007-06-07 21:42 linux-2.6.21 iptables and NAT John Zavgren
@ 2007-06-24 12:51 ` Martijn Lievaart
  0 siblings, 0 replies; 2+ messages in thread
From: Martijn Lievaart @ 2007-06-24 12:51 UTC (permalink / raw)
  To: John Zavgren; +Cc: netfilter

John Zavgren wrote:
> I'm trying to build NAT functionality into the 2.6.21 kernel but it
> seems to have been stripped out.
>
> The default 2.6.15 kernel that comes with Fedora Core 5 contains the
> following parameter setting:
> CONFIG_IP_NF_NAT=m
>
> I cannot activate such a "rule" in 2.6.21. The complete list of options
> is:
>   

(snip)

Try CONFIG_NF_NAT

HTH,
M4



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

end of thread, other threads:[~2007-06-24 12:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-07 21:42 linux-2.6.21 iptables and NAT John Zavgren
2007-06-24 12:51 ` Martijn Lievaart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox