I’m trying to deploy sentinel dvpn (wireguard) node on akash. to run this we need to add wireguard interface with ip link this requires NET_ADMIN capability for container to execute this command
[dvpn-84cd58857c-ttm85] 2021-07-15T04:44:22Z INF Initializing VPN service type=1 [dvpn-84cd58857c-ttm85] 2021-07-15T04:44:22Z INF Starting VPN service type=1 [dvpn-84cd58857c-ttm85] [#] ip link add wg0 type wireguard [dvpn-84cd58857c-ttm85] RTNETLINK answers: Permission denied
Also we need to update sysctl config to successfully start vpn service I’m not able to do this in the container.
Is there any ways to mention network capabilities and sysctl config ???