How to Check if TUN is Enabled on Your VPS

Installing VPN software on OpenVZ virtual servers requires the TUN/TAP kernel module to be loaded on the host server, then enabled for the container that requires access. To check if your container has been allocated TUN permissions appropriately, simply run:

# cat /dev/net/tun

This should be returned:

# cat: /dev/net/tun: File descriptor in bad state

If you get a 'Permission Denied' error or anything else, there is likely a problem with the TUN configuration for your container. Please let us know, and we will look into the problem immediately!

  • payment
  • 0 משתמשים שמצאו מאמר זה מועיל
?האם התשובה שקיבלתם הייתה מועילה

מאמרים קשורים

How to Setup/Configure OpenVPN Template

Our OpenVPN templates provide a quick and easy way to setup VPNs. However, a small amount of...

How to Modify OpenVPN Password

To modify the default password for the "vpn" user on any of our OpenVPN templates, simply login...

How to Install OpenVPN on CentOS VPS

OpenVPN is an open source virtual private network (VPN) software. Follow the steps below to...

Powered by WHMCompleteSolution