mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-21 11:58:41 +00:00
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:
committed by
Fabiano Fidêncio
parent
285aaad13e
commit
e36f788570
@@ -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
|
||||
|
@@ -1 +1 @@
|
||||
166
|
||||
167
|
||||
|
Reference in New Issue
Block a user