How To Install radsecproxy on CentOS 8

radsecproxy is Generic RADIUS proxy with RadSec support

Introduction

In this tutorial we learn how to install radsecproxy on CentOS 8.

What is radsecproxy

radsecproxy is a generic RADIUS proxy that in addition to usual RADIUS UDP transport, also supports TLS (RadSec), as well as RADIUS over TCP and DTLS. The aim is for the proxy to have sufficient features to be flexible, while at the same time to be small, efficient and easy to configure.

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

Install radsecproxy on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install radsecproxy

Install radsecproxy on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install radsecproxy

How To Uninstall radsecproxy on CentOS 8

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

sudo dnf remove radsecproxy

radsecproxy Package Contents on CentOS 8

/etc/logrotate.d/radsecproxy
/etc/pki/radsecproxy
/etc/radsecproxy.conf
/run/radsecproxy
/usr/bin/radsecproxy-conf
/usr/bin/radsecproxy-hash
/usr/lib/.build-id
/usr/lib/.build-id/51
/usr/lib/.build-id/51/3644af26287ab135dfec3726eced6cbec95ce9
/usr/lib/.build-id/68
/usr/lib/.build-id/68/b9066111295264a696c4d6ef9b1bf425e0e057
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/ecb9c904ad57e5f12db0f61521d130b37b7ee4
/usr/lib/systemd/system/radsecproxy.service
/usr/lib/tmpfiles.d/radsecproxy.conf
/usr/sbin/radsecproxy
/usr/share/doc/radsecproxy
/usr/share/doc/radsecproxy/AUTHORS
/usr/share/doc/radsecproxy/ChangeLog
/usr/share/doc/radsecproxy/THANKS
/usr/share/doc/radsecproxy/radsecproxy.conf-example
/usr/share/doc/radsecproxy/tools
/usr/share/doc/radsecproxy/tools/README
/usr/share/doc/radsecproxy/tools/naptr-eduroam.sh
/usr/share/doc/radsecproxy/tools/radsec-dynsrv.sh
/usr/share/licenses/radsecproxy
/usr/share/licenses/radsecproxy/LICENSE
/usr/share/man/man5/radsecproxy.conf.5.gz
/usr/share/man/man8/radsecproxy-hash.8.gz
/usr/share/man/man8/radsecproxy.8.gz
/var/lib/radsecproxy
/var/log/radsecproxy

References

Summary

In this tutorial we learn how to install radsecproxy on CentOS 8 using yum and dnf.