Socat
Note: No ssh tunneling required with socat
Redirection with a Reverse Shell
rednorth@htb $ socat TCP4-LISTEN:8080,fork TCP4:10.10.14.18:80
This will listen on port 8080 and forward all the requests to 10.10.14.18:80
Redirection with a Bind Shell

Ubuntu@Webserver $ socat TCP4-LISTEN:8080,fork TCP4:172.16.5.19:8443
This will listen on port 8080 and forward all the requests to 172.16.5.19:8443
Last updated