Enable virtual network interfaces for VPN and networking applications.
TUN and TAP are virtual network kernel interfaces that operate at different layers:
TUN/TAP is essential for:
You can enable TUN/TAP on your OpenVZ VPS directly from the SolusVM control panel:
Go to your SolusVM Control Panel
Select your OpenVZ VPS from the Virtual Servers list
Click on "Manage" in the top menu
Look for "TUN/TAP" or "Network Settings" section
Click the "Enable" button next to TUN/TAP
Wait for the confirmation message
After enabling TUN/TAP, you can verify it's working by checking for the device:
# Check if TUN device exists
cat /dev/net/tun
# Expected output: "cat: /dev/net/tun: File descriptor in bad state"
# This means TUN/TAP is properly enabledOnce TUN/TAP is enabled, you can install and configure OpenVPN:
# Debian/Ubuntu
apt-get install openvpn
# CentOS/RHEL
yum install openvpnTUN/TAP can be enabled instantly from the SolusVM control panel without needing to contact support or reboot your VPS in most cases.