Skip to content

Commit 2259701

Browse files
committed
iso: enable IPv6 iptables support in ISO kernels
Prepare the ISO kernels to support IPv6 Services using the legacy iptables/ip6tables backend. x86_64: - Explicitly enable IPv6 (CONFIG_IPV6=y). - Enable IPv6 conntrack defragmentation (CONFIG_NF_DEFRAG_IPV6=m). - Enable IPv6 iptables raw and NAT support: - CONFIG_IP6_NF_RAW=m - CONFIG_IP6_NF_NAT=m - CONFIG_IP6_NF_TARGET_MASQUERADE=m aarch64: - Enable IPv6 conntrack defragmentation (CONFIG_NF_DEFRAG_IPV6=m). - Enable IPv6 iptables raw table support (CONFIG_IP6_NF_RAW=m). With these options, the ISO kernels provide the full legacy ip6tables stack (filter/mangle/raw/nat + MASQUERADE) needed by kube-proxy and Calico in iptables mode for IPv6 Services. Fixes: #21878 Signed-off-by: Kartik Joshi <[email protected]>
1 parent 4c7716b commit 2259701

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

deploy/iso/minikube-iso/board/minikube/aarch64/linux_aarch64_defconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
CONFIG_SYSVIPC=y
22
CONFIG_POSIX_MQUEUE=y
33
CONFIG_AUDIT=y
4+
CONFIG_NF_DEFRAG_IPV6=m
45
CONFIG_NO_HZ_IDLE=y
56
CONFIG_HIGH_RES_TIMERS=y
67
CONFIG_BPF_SYSCALL=y
@@ -224,6 +225,7 @@ CONFIG_IP6_NF_MATCH_IPV6HEADER=m
224225
CONFIG_IP6_NF_FILTER=m
225226
CONFIG_IP6_NF_TARGET_REJECT=m
226227
CONFIG_IP6_NF_MANGLE=m
228+
CONFIG_IP6_NF_RAW=m
227229
CONFIG_IP6_NF_NAT=m
228230
CONFIG_IP6_NF_TARGET_MASQUERADE=m
229231
CONFIG_BRIDGE=m

deploy/iso/minikube-iso/board/minikube/x86_64/linux_x86_64_defconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# CONFIG_LOCALVERSION_AUTO is not set
22
CONFIG_KERNEL_LZ4=y
33
CONFIG_SYSVIPC=y
4+
CONFIG_IPV6=y
45
CONFIG_POSIX_MQUEUE=y
56
CONFIG_AUDIT=y
67
CONFIG_NO_HZ=y
@@ -106,6 +107,7 @@ CONFIG_NETLABEL=y
106107
CONFIG_NETFILTER=y
107108
CONFIG_BRIDGE_NETFILTER=m
108109
CONFIG_NETFILTER_NETLINK_ACCT=y
110+
CONFIG_NF_DEFRAG_IPV6=m
109111
CONFIG_NETFILTER_NETLINK_QUEUE=y
110112
CONFIG_NF_CONNTRACK=m
111113
CONFIG_NF_CONNTRACK_ZONES=y
@@ -237,6 +239,9 @@ CONFIG_IP6_NF_MATCH_IPV6HEADER=y
237239
CONFIG_IP6_NF_FILTER=y
238240
CONFIG_IP6_NF_TARGET_REJECT=y
239241
CONFIG_IP6_NF_MANGLE=y
242+
CONFIG_IP6_NF_RAW=m
243+
CONFIG_IP6_NF_NAT=m
244+
CONFIG_IP6_NF_TARGET_MASQUERADE=m
240245
CONFIG_BRIDGE_NF_EBTABLES=m
241246
CONFIG_BRIDGE_EBT_BROUTE=m
242247
CONFIG_BRIDGE_EBT_T_FILTER=m

0 commit comments

Comments
 (0)