正如昨天我发的帖子https://v2ex.com/t/178418
前后考虑了一下似乎用socat实现省去了加密并且速度更快,找来找去一圈教程,似乎只有这个对路。
http://stackoverflow.com/questions/8616149/udp-reverse-tunnel-over-ssh-using-socat
比如映射22端口
socat exec:"ssh removeserver \"socat tcp-listen:10000,fork -\"" tcp-connect:localhost:22
但是我无论按照这个指令如何做,都不能建立反向通道。
求socat高手指导?
前后考虑了一下似乎用socat实现省去了加密并且速度更快,找来找去一圈教程,似乎只有这个对路。
http://stackoverflow.com/questions/8616149/udp-reverse-tunnel-over-ssh-using-socat
比如映射22端口
socat exec:"ssh removeserver \"socat tcp-listen:10000,fork -\"" tcp-connect:localhost:22
但是我无论按照这个指令如何做,都不能建立反向通道。
求socat高手指导?