Port forwarding with perl (CPAN module Net::Socket::NonBlock)
August 27, 2011 19:17:10 Last update: August 27, 2011 19:17:10
The CPAN module
Net::Socket::NonBlock has a port forwarding utility which works for both Unix and Windows:
$ perl tcpudppf.pl Usage: tcpudppf.pl <LocalAddr:LocalPort> <RemoteHost:RemotePort>