Skip to content

Commit 41ed67f

Browse files
feat: add nftables support to guest kernel config
Enable the full nftables stack: tables, chains, NAT/masquerade, conntrack, match expressions, counters, logging, reject, and the compat layer so iptables-nft works too. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9c1ad77 commit 41ed67f

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

linux/vz-linux.config

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,20 @@ CONFIG_IP_NF_FILTER=y
4848
CONFIG_IP_NF_NAT=y
4949
CONFIG_IP_NF_TARGET_MASQUERADE=y
5050

51+
# nftables (modern netfilter replacement — tables, chains, NAT/masquerade,
52+
# conntrack, match expressions, and compat layer for iptables-nft)
53+
CONFIG_NF_TABLES=y
54+
CONFIG_NF_TABLES_INET=y
55+
CONFIG_NFT_CHAIN_NAT=y
56+
CONFIG_NFT_MASQ=y
57+
CONFIG_NFT_NAT=y
58+
CONFIG_NFT_CT=y
59+
CONFIG_NFT_META=y
60+
CONFIG_NFT_COUNTER=y
61+
CONFIG_NFT_LOG=y
62+
CONFIG_NFT_REJECT=y
63+
CONFIG_NFT_COMPAT=y
64+
5165
# Cgroups / namespaces
5266
CONFIG_NAMESPACES=y
5367
CONFIG_CGROUPS=y

0 commit comments

Comments
 (0)