How To Install redir on Fedora 36

In this tutorial we learn how to install redir in Fedora 36. redir is A TCP port redirector for UNIX

Introduction

In this tutorial we learn how to install redir on Fedora 36.

What is redir

This is a TCP port redirector for UNIX. It can be run under inetd or as standalone (in which case it handles multiple connections). It is 8 bit clean, not limited to line mode, is small and lightweight. If you want access control, run it under xinetd, or inetd with TCP wrappers. Redir listens for TCP connections on a given port, and, when it receives a connection, then connects to a given destination address pass data between them. It finds most of its applications in traversing firewalls, but, of course, there are other uses.

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

Install redir on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install redir

Install redir on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install redir

How To Uninstall redir on Fedora 36

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

sudo dnf remove redir

redir Package Contents on Fedora 36

/usr/bin/redir
/usr/lib/.build-id
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/0bcd01351c15153f10d76d01e37b6f0c1d9c70
/usr/share/doc/redir
/usr/share/doc/redir/COPYING
/usr/share/doc/redir/README.md
/usr/share/doc/redir/TODO
/usr/share/doc/redir/transproxy.txt
/usr/share/licenses/redir
/usr/share/licenses/redir/COPYING
/usr/share/man/man1/redir.1.gz

References

Summary

In this tutorial we learn how to install redir on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).