How To Install vtun on CentOS 7

In this tutorial we learn how to install vtun on CentOS 7. vtun is Virtual tunnel over TCP/IP networks

Introduction

In this tutorial we learn how to install vtun on CentOS 7.

What is vtun

VTun provides a method for creating Virtual Tunnels over TCP/IP networks and allows one to shape, compress, and encrypt traffic in those tunnels. Supported types of tunnels are and most other serial protocols and programs. VTun is easily and highly configurable network tasks like VPN, Mobile IP, Shaped Internet access, IP address saving, etc. It is completely a user space implementation and does not require modification to any kernel parts.

We can use yum or dnf to install vtun on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install vtun.

Install vtun on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install vtun using yum by running the following command:

sudo yum -y install vtun

Install vtun on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install vtun using dnf by running the following command:

sudo dnf -y install vtun

How To Uninstall vtun on CentOS 7

To uninstall only the vtun package we can use the following command:

sudo dnf remove vtun

References

Summary

In this tutorial we learn how to install vtun on CentOS 7 using yum and dnf.