On 09/28/2016 07:11 AM, Mike Wright wrote:
On 09/22/2016 05:14 PM, Paul Dino Jones wrote:
Hi all,

I could have sworn in the past I was able to make an unprivileged
container use openvpn, but yesterday, i started an unprivileged
container and was not able to use openvpn because I did not have a
/dev/net/tun

If it does not exist create /dev/net/tun
  mknod /dev/net/tun c 10 200
In lxc parlance you would add a line like this to your config file
lxc.mount.entry = /dev/snd dev/snd none bind,optional,create=file

...damn cut and paste

lxc.mount.entry = /dev/net/tun /dev/net/tun none bind,optional,create=fild

_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to