Recently NF_NAT_IPV4 and NF_NAT_IPV6 options were added to the kernel, so simply enabling NF_NAT in our genkernel configs is not enough to enable the NAT support we used to have. This missing NF_NAT_IPV4 also nullifies some other options that we have in our kernel config, since they depend on this missing option, CONFIG_IP_NF_TARGET_REDIRECT=m is one example. The below patch seems to fix up the issue, but of course this config tweak would be better applied in a total reworking of .config via menuconfig, manual .config editing is usually bad news. Tested on stable genkernel-3.4.45.1 + gentoo-sources-3.8.13, and unstable genkernel-3.4.47 + gentoo-sources-3.10.0, this problem isn't going away on its own. --- /usr/share/genkernel/arch/x86_64/kernel-config 2013-07-01 12:45:39.180009859 -0500 +++ ./config-fixed 2013-07-01 12:34:27.389478795 -0500 @@ -706,6 +706,7 @@ CONFIG_IP_NF_TARGET_LOG=m CONFIG_IP_NF_TARGET_ULOG=m CONFIG_NF_NAT=m +CONFIG_NF_NAT_IPV4=m CONFIG_NF_NAT_NEEDED=y CONFIG_IP_NF_TARGET_MASQUERADE=m CONFIG_IP_NF_TARGET_NETMAP=m
In the future, please mark bugs with patches with the PATCH keyword.
This is resolved in genkernel v3.4.52.