How To Install fastd on Fedora 34
Introduction
In this tutorial we learn how to install fastd
on Fedora 34.
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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install fastd.
Install fastd on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install fastd
using dnf
by running the following command:
sudo dnf -y install fastd
Install fastd on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 Fedora 34
To uninstall only the fastd
package we can use the following command:
sudo dnf remove fastd
fastd Package Contents on Fedora 34
/etc/fastd
/usr/bin/fastd
/usr/lib/.build-id
/usr/lib/.build-id/68
/usr/lib/.build-id/68/4e361c2af7d5855899bcde3230ff0f9145793a
/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/doc/fastd/releases/v22.txt
/usr/share/licenses/fastd
/usr/share/licenses/fastd/COPYRIGHT
/usr/share/man/man1/fastd.1.gz
/etc/fastd
/usr/bin/fastd
/usr/lib/.build-id
/usr/lib/.build-id/99
/usr/lib/.build-id/99/74f92d11c8880153a43a24faad351dc2421970
/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 Fedora 34 using yum and dnf.