How To Install fastd on Rocky Linux 8

In this tutorial we learn how to install fastd on Rocky Linux 8. fastd is Fast and secure tunneling daemon

Introduction

In this tutorial we learn how to install fastd on Rocky Linux 8.

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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install fastd.

Install fastd on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install fastd

Install fastd on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install fastd

How To Uninstall fastd on Rocky Linux 8

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

sudo dnf remove fastd

fastd Package Contents on Rocky Linux 8

/etc/fastd
/usr/bin/fastd
/usr/lib/.build-id
/usr/lib/.build-id/59
/usr/lib/.build-id/59/1070fa6de27dff6ea312dd8ac2355897d9f88a
/usr/lib/systemd/system/[email protected]
/usr/share/doc/fastd
/usr/share/doc/fastd/README.md
/usr/share/doc/fastd/crypto
/usr/share/doc/fastd/crypto/ciphers.txt
/usr/share/doc/fastd/crypto/ec25519.txt
/usr/share/doc/fastd/crypto/fhmqvc.txt
/usr/share/doc/fastd/crypto/macs.txt
/usr/share/doc/fastd/crypto/methods.txt
/usr/share/doc/fastd/devel
/usr/share/doc/fastd/devel/building.txt
/usr/share/doc/fastd/devel/protocol.txt
/usr/share/doc/fastd/index.txt
/usr/share/doc/fastd/manual
/usr/share/doc/fastd/manual/cmdline.txt
/usr/share/doc/fastd/manual/config.txt
/usr/share/doc/fastd/manual/methods.txt
/usr/share/doc/fastd/manual/mtu.txt
/usr/share/doc/fastd/releases
/usr/share/doc/fastd/releases/v15.txt
/usr/share/doc/fastd/releases/v16.txt
/usr/share/doc/fastd/releases/v17.txt
/usr/share/doc/fastd/releases/v18.txt
/usr/share/doc/fastd/releases/v19.txt
/usr/share/doc/fastd/releases/v20.txt
/usr/share/doc/fastd/releases/v21.txt
/usr/share/licenses/fastd
/usr/share/licenses/fastd/COPYRIGHT
/usr/share/man/man1/fastd.1.gz

References

Summary

In this tutorial we learn how to install fastd on Rocky Linux 8 using yum and dnf.