bash openvpn.sh cant detect TUN device
sec13b opened this issue · comments
Error:
The TUN device is not available
You need to enable TUN before running this script
can you add the solve solution .
mkdir -p /dev/net
mknod /dev/net/tun c 10 200
chmod 600 /dev/net/tun
thank you
@sec13b Hello! Thank you for your suggestion. /dev/net/tun
is usually already available on servers, except for some OpenVZ VPS, in which cases it can be enabled using the server provider's control panel. Please refer to related issues Nyr/openvpn-install#560 and Nyr/openvpn-install#459.
on my vps , after restart tun missing or is deleted automatically, i dnt know