Add support for nftables

Hi

Could you add support for nftables nat and postrouting to your kernel builds.

Following situation is

root@LX2621a:~# zgrep CONFIG_NF_TABLES /proc/config.gz
CONFIG_NF_TABLES=y
# CONFIG_NF_TABLES_INET is not set
# CONFIG_NF_TABLES_NETDEV is not set
CONFIG_NF_TABLES_IPV4=y
# CONFIG_NF_TABLES_ARP is not set
# CONFIG_NF_TABLES_IPV6 is not set
CONFIG_NF_TABLES_BRIDGE=y

that what is needed

zgrep CONFIG_NF_TABLES /proc/config.gz


Ensure the following options are set:

* `CONFIG_NF_TABLES=y`
* `CONFIG_NF_TABLES_INET=y`
* `CONFIG_NF_TABLES_IPV4=y`
* `CONFIG_NF_NAT_IPV4=y`
* `CONFIG_NF_TABLES_IPV6=y`
* `CONFIG_NF_NAT_IPV6=y`

How I can build a kernel with this settings and docker?

It’s correct to add following lines

CONFIG_NF_TABLES_ARP=y
CONFIG_NF_TABLES_IPV6=y
CONFIG_NF_TABLES_INET=y
CONFIG_NF_TABLES_NETDEV=y

in

will enable full nftables support to the builded image/kernel?

The compiled kernel image works with nftables on this configuration.

We will look into adding this to our next BSP release.