How to install tun/tap driver for openvpn on centos linux?
Best wishes for you.
The TUN/TAP driver is already part of the standard kernel image. Just run
If you are inside a virtual server (e. g. OpenVZ/Virtuozzo, Linux-Vserver et al) the provider needs to enable tun/tap-functionality first since you cannot load kernel modules yourself in these environments.
The standard kernel image has TUN/TAP driver configured as default. But if you want to check that with your running kernel you can:
After searching for "TUN" you will find:
The kernel module is located at:
You can repeat almost the same procedure with a kernel source to check if TUN driver is compiled as a module. Just replace the first two commands with: