Do we have some official cookbook on how to deal with (unprivileged) containers and openvpn on LXD 3.0.3, aka what comes with ubuntu 18.04 lts?
Posts i’ve seen usually don’t work. Scripts found online are really outdated and with later versions of lxd/lxc this should be easier, no?
Anyhow, what i’ve tried is
raw.lxc: |- lxc.mount.entry = /dev/net/tun dev/net/tun none bind,create=file lxc.cgroup.devices.allow = c 10:200 rwm [Service] LimitNPROC=infinity