socat 是一个好东西,开源,多种平台下通用。最常用的功能 就是用它实现 端口转发了。
示例如下:
socat TCP4-LISTEN:3389,reuseaddr,fork TCP4:192.168.0.100:3389 &
除了nc外这是另一个很好用的网络 工具。