Knowledge base

What is TUN/TAP? Is it available on my VPS?

Modified on:Wed, Oct 18, 2017 03:10 am UTC

vps tun tap tun/tap VPN

In computer networking, TUN and TAP are virtual network kernel devices. Being network devices supported entirely by software, they differ from ordinary network devices which are backed up by hardware like network adapters. This is required to set up a VPN on your VPS package.

TUN/TAP are enabled by default on our servers.

You can test if it is enabled correctly by connecting to your virtual machine and executing the following:

cat /dev/net/tun

The output should be:

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

Articles, Tutorials, and Guides on Getting Started

Comprehensive list of tutorials for getting started with web development. Learn how to code web. Get help with Hostinger control panel.