dev/net/tun: Is a directory (errno=21)

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
francisb
OpenVpn Newbie
Posts: 1
Joined: Fri Jul 20, 2018 6:48 pm

dev/net/tun: Is a directory (errno=21)

Post by francisb » Fri Jul 20, 2018 6:54 pm

Hello,

I am using openvpn client on a QNAP nas but everytime when i try to setup the connection i get:

Code: Select all

ERROR: Cannot open TUN/TAP dev /dev/net/tun: Is a directory (errno=21)
Tried mknod /dev/net/tun c 10 200 after removing tun in the /dev/net directory. changed permissions chmod 0666 /dev/net/tun but no joy.

I am puzzled, so please help me, whats wrong?

Regards,

Francis

Post Reply