Running openvpn on a Debian vps

When setting up openvpn on my Debian vps daemon.log said

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

On vps I’ve come over other things too missing from /dev , this time I had to create the /dev/net/tun device manually by issuing:

mkdir /dev/net
mknod /dev/net/tun c 10 200
chmod 600 /dev/net/tun 

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.