I have a problem with running Windscribe VPN in a LXC container. When I try connect to VPN, it will fail due to missing /dev/net/tun file. I found that I should mount this file from the host into the container (right?).
I’ve added this line into the container configuration
lxc.mount.entry = /dev/net dev/net none bind,create=dir 0 0
I can see /dev/net/tun file but I can’t be accessed within the container.
ERROR: Cannot open TUN/TAP dev /dev/net/tun: Operation not permitted (errno=1)
How can I bypass this problem? Is it save to mount this file into LXC container? How can I grant the permission to remove this error?