3 ms·
Would be neat to have the ability to forward any TCP connection on port X to host Y port Z. Maybe could even add the ability to peek into the stream to determi
by olegp 15y ago
Would be neat to have the ability to forward any TCP connection on port X to host Y port Z.
Maybe could even add the ability to peek into the stream to determine which host to forward to based on protocol (think FTP etc.).
- wizard_2 15y agoThis is only for http but I think you should take a look at Netcat. http://nc110.sourceforge.net/ http://nc110.sourceforge.net/
- icebraining 15y agoFor 'dumb' (not protocol aware) redirection you can just use iptables, it'll probably be much faster. For protocol aware redirection, there are various reverse proxies with that ability. TCPMUX was probably one of the firsts, but it requires explicit support by the client. Delegate[1], on the other hand, can identify the protocol and multiplex based on that, IINM. [1]: http://www.delegate.org/delegate/ http://www.delegate.org/delegate/