redir
Redirect TCP connections
Install
- All systems
-
curl cmd.cat/redir.sh
- Debian
-
apt-get install redir
- Ubuntu
-
apt-get install redir
- Kali Linux
-
apt-get install redir
- Fedora
-
dnf install redir
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install redir
- OS X
-
brew install redir
- Raspbian
-
apt-get install redir
- Dockerfile
- dockerfile.run/redir
redir
Redirect TCP connections
It can run under inetd or stand alone (in which case it handles multiple connections). It is 8 bit clean, not limited to line mode, is small and light. Supports transparency, FTP redirects, http proxying, NAT and bandwidth limiting. redir is all you need to redirect traffic across firewalls that authenticate based on an IP address etc. No need for the firewall toolkit. The functionality of inetd/tcpd and "redir" will allow you to do everything you need without screwy telnet/ftp etc gateways. (I assume you are running IP Masquerading of course.)