Hacker News new | ask | show | jobs
by concerndc1tizen 493 days ago
Which privileges are required? CAP_NET_ADMIN? Or nothing at all?
1 comments

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.