macOS
brew install redirlocal Homebrew formula metadata
brew / rank 11003
TCP port redirector for UNIX. Version 3.3 via Homebrew; verified 2026-09-13. Also installable with debian: sudo apt install redir.
install
brew install redirlocal Homebrew formula metadata
sudo apt install redirDebian stable package indexes · redir · source: deb.debian.org
sudo dnf install redirFedora Rawhide package metadata · redir · source: dl.fedoraproject.org
nix profile install nixpkgs#redirnixpkgs package indexes · pkgs/by-name/re/redir/package.nix · source: api.github.com
overview
TCP port redirector for UNIX
history
redir is a small Unix TCP port redirector that accepts connections on a source address and port and relays their byte streams to a destination. It can run from inetd, as a standalone daemon, or in the foreground under a service manager.
redir was originally created by Nigel Metheringham and Sam Creasey as a lightweight, 8-bit-clean TCP port redirector for Unix. It could operate under inetd or as a standalone daemon handling multiple connections.
Maintenance later moved to Joachim Wiberg under the troglobit organization on GitHub. The maintained code uses GNU Autotools and preserves optional support for traffic shaping, FTP redirection, Linux transparent proxy mode, TCP wrappers, and a subset of the older interface.
Version 3.0 changed the command-line syntax. The build-time --enable-compat option retains a limited subset of version 2 options for older deployments.
redir has been packaged across Homebrew, Debian, Ubuntu, Fedora-family repositories, and Nix according to the supplied metadata. That breadth reflects its role as a small, conventional Unix networking utility.
The current project retains inetd integration while also supporting standalone daemon and foreground operation, allowing it to fit both traditional Unix service management and modern process supervisors.
The modern syntax specifies source and destination endpoints, for example redir :80 127.0.0.1:8080. Options control binding, foreground or inetd mode, logging, timeouts, FTP handling, transparent proxying, and traffic shaping.
No application-specific configuration or credential file is required; persistent service definitions belong to the chosen supervisor, such as inetd.conf or a systemd unit.
redir is representative of the compact Unix networking tools that package collections preserve for decades: one executable, a manual page, conventional Autotools support, and compatibility with inetd-era service composition. It remains useful when a complete proxy suite would be unnecessary.
Its version 3 command-line transition is especially relevant to maintainers because compatibility with part of the version 2 syntax must be enabled at build time.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
redir | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/troglobit/redir
install metadata
| Package key | brew:redir |
|---|---|
| Version | 3.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/redir |
| Homepage | https://github.com/troglobit/redir |
| Repository | https://github.com/troglobit/redir |
| License | GPL-2.0-or-later |
| Source archive | https://github.com/troglobit/redir/releases/download/v3.3/redir-3.3.tar.xz |
| Last updated | 2026-09-13T07:51:49Z |
| Pulse | updated |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | redir |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
redir 3.3-1
Redirect TCP connections
https://github.com/troglobit/redir
sudo apt install redirredir
nix profile install nixpkgs#redirredir 3.3-1
Redirect TCP connections
https://github.com/troglobit/redir
sudo apt install redirredir 3.3-15.fc45
A TCP port redirector for UNIX
https://github.com/troglobit/redir
sudo dnf install redirsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.