kernel: add required configs for openvpn support

Currently, use of openvpn clients/servers is not possible in Kata UVMs.
Following error message can be expected:
ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19)

To support opevpn scenarios using bridging and TAP, we enable various
kernel networking config options.

Signed-off-by: Manuel Huber <mahuber@microsoft.com>
This commit is contained in:
Manuel Huber
2025-09-05 19:06:35 +00:00
committed by Fabiano Fidêncio
parent 285aaad13e
commit e36f788570
2 changed files with 7 additions and 1 deletions

View File

@@ -25,7 +25,9 @@ CONFIG_XFRM_SUB_POLICY=y
# Developer feature - unlikely we need it
#CONFIG_XFRM_STATISTICS=y
CONFIG_INET=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_CLASSID=y
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
@@ -74,6 +76,10 @@ CONFIG_VETH=y
# We need TUN/TAP support is a must for VPN kinda services
CONFIG_TUN=y
CONFIG_MACVLAN=y
CONFIG_MACVTAP=y
CONFIG_BRIDGE_NETFILTER=y
# Need netfilter support for iptables
CONFIG_NF_TABLES=y

View File

@@ -1 +1 @@
166
167