Rudului, 262, Ploiesti, Prahova
+40744441324
office@vaultapps.ro

Cannot open TUN/TAP dev – openvpn client in container

Webdesign, dezvoltare software si apps Ploiesti

Cannot open TUN/TAP dev – openvpn client in container

Open vpn error inside lxc container

ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)

Trying to make the tun device manually throws an Operation not permitted error:


$ mkdir -p /dev/net
$ mknod /dev/net/tun c 10 200
$ chmod 666 /dev/net/tun

$ openvpn --config serverinfo.ovpn

 

Lasă un răspuns

Adresa ta de email nu va fi publicată. Câmpurile obligatorii sunt marcate cu *