[lxc-users] tun device in unprivileged Debian Stretch lxc Container

Janjaap Bos janjaapbos at gmail.com
Wed Sep 28 08:54:56 UTC 2016


you need to map the device (lxc config), no need to do mknod in container.

2016-09-23 2:14 GMT+02:00 Paul Dino Jones <spacefreak18 at brak.space>:

> 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. I was able to get it started in a normal privileged
> container after performing a mknod. Which makes sense because an
> unprivileged user isn't going to be able to create that tun device.
>
> I'm just wondering if there is something I'm missing since I think it
> used to work.
>
> Regards,
> Paul
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160928/3337a828/attachment.html>


More information about the lxc-users mailing list