How To Install eurephia on Fedora 34

eurephia is An advanced and flexible OpenVPN user authentication plug-in

Introduction

In this tutorial we learn how to install eurephia on Fedora 34.

What is eurephia

This plug-in enhances OpenVPN by adding user name and password authentication in addition. An eurephia user account is a combination of minimum one OpenVPN SSL certificate and a user name with a password assigned. It is also possible to setup several eurephia user names to use a shared OpenVPN certificate. In addition, eurephia will blacklist IP addresses, certificates and user names on too many failed attempts and it supports dynamic update of iptables rules which restricts network access per connection.

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

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

sudo dnf -y install eurephia

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

sudo yum -y install eurephia

How To Uninstall eurephia on Fedora 34

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

sudo dnf remove eurephia

eurephia Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/91475d95bb2633a950a55dd6f16d4e01f920a6
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/c9a1fd32de0b50a956e60ace8ffcee88936eef
/usr/lib64/eurephia/efw-iptables.so
/usr/lib64/openvpn/eurephia-auth.so
/usr/share/doc/eurephia
/usr/share/doc/eurephia/CREDITS.txt
/usr/share/doc/eurephia/LICENSE.txt
/usr/share/man/man7/eurephia-auth.7.gz
/usr/share/man/man7/eurephia-variables.7.gz

References

Summary

In this tutorial we learn how to install eurephia on Fedora 34 using yum and dnf.