Re: Where has NAT gone?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2007-04-17 at 08:12 +0000, richard@xxxxxxxxxxxxxxxxxxxx wrote:
> Today I upgraded my system from Linux
> Kernel 2.6.16.20 to 2.6.20.7 because I needed an updated NIC driver. Upon
> running make menuconfig, I noticed that the options for NAT seem to have
> vanished from the config menu. 
...
> I'm not sure if this is the right place to ask but the kernel mailing list
> was slow at responding so I thought I'd try here.

Exactly the right place to ask, don't worry.

What you're probably missing is conntrack, which moved to

Networking ->
Networking options ->
Network packet filtering framework (Netfilter) ->
Core Netfilter Configuration

There, enable "Netfilter connection tracking support"
(CONFIG_NF_CONNTRACK_ENABLED) and "Netfilter Xtables support"
(CONFIG_NETFILTER_XTABLES).

Then, one menu up and into "IP: Netfilter Configuration",
enable

IPv4 connection tracking support (CONFIG_NF_CONNTRACK_IPV4)
IP tables support (CONFIG_IP_NF_IPTABLES)
Full NAT (CONFIG_NF_NAT)

and optionally MASQUERADE / REDIRECT.

I understand those config options were moved because they are
actually not IPv4 specific ("iptables") but more general,
IPv4 / IPv6 / ARP ("xtables").
The binary for setting the rules is still called "iptables", though.

Hth,
Torsten



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux