← Back to context

Comment by concerndc1tizen

19 days ago

Which privileges are required? CAP_NET_ADMIN? Or nothing at all?

Nothing at all!

You do need write access to /dev/net/tun. This is standard for all users for the distros that I've looked into, but it is ultimately a distro-specific thing.

  • I'm curious because in a Kubernetes environment, the privileges can be minimal, i.e. read only filesystem, running as nobody, empty filesystem, etc.