How To Install fastd on CentOS 7

In this tutorial we learn how to install fastd on CentOS 7. fastd is Fast and secure tunneling daemon

Introduction

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

What is fastd

fastd is a secure tunneling daemon with some unique features - Very small binary (about 100KB on OpenWRT in the default configuration, including all dependencies besides libc) - Exchangable crypto methods - Transport over UDP for simple usage behind NAT - Can run in 1 - There are no server and client roles defined by the protocol, this is just defined by the usage. - Only one instance of the daemon is needed on each host to create a full mesh If no full mesh is established, a routing protocol is necessary to enable hosts that are not connected directly to reach each other

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

Install fastd on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install fastd

Install fastd 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 fastd using dnf by running the following command:

sudo dnf -y install fastd

How To Uninstall fastd on CentOS 7

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

sudo dnf remove fastd

References

Summary

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