Check TUN/TAP module is enabled or not on VPS – Linux OpenVZ

Hello all,
Do you have a Virtual Private Server (VPS)? If yes, you might have heard about a module called TUN/TAP. This module is required to run a VPN application on your server. As we all know a VPN adds privacy and security to networks wheather it’s private or public. Companies use it often to protect their data from intruders.

Anyway, if you are using a VPS, you might not be able to activate this TUN/TAP module by yourserlf, you might get help from the VPS provider as this has something to do from the node level. You can check for this module and see wheather it’s enabled on your server. The command line will help you for this.

As I told TUN/TAP kernel module to be enabled on the server (OpenVZ) for installing VPN softwares. The following command will help you to check if your container (VPS) has been allocated TUN permissions appropriately.
For this, please login to the server as root user and run the below command:

# cat /dev/net/tun

The result returned should be :

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

The module has been enabled in your server successfully, otherwise please contact VPS provider and check for this, you may have an option to enable the same from the VPS management console sometimes.

If you get a ‘Permission Denied’ error or anything else, there is likely a problem with the TUN configuration for your container, contact the tech and rectify it.

That’s all guys, thank you! 🙂

3 thoughts on “Check TUN/TAP module is enabled or not on VPS – Linux OpenVZ

  1. eco Blankets

    Hey! Do you know if they make any plugins to assist with SEO?
    I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very
    good results. If you know of any please share.
    Cheers! You can read similar art here: Warm blankets

  2. eco product

    Hello! Do you know if they make any plugins to help with SEO?
    I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good results.
    If you know of any please share. Kudos! I saw similar article here:
    Blankets

  3. link building

    It is the best time to make some plans for the long run and it
    is time to be happy. I have learn this publish and if I may I wish to recommend you some attention-grabbing things or tips.

    Perhaps you can write next articles relating to this article.
    I want to read more things approximately it!!

Leave a Reply

Your email address will not be published.