2018-05-11 10:31:26 +00:00
|
|
|
|
Socat一键安装脚本
|
|
|
|
|
-----------
|
2018-05-11 10:33:10 +00:00
|
|
|
|
支持CentOS 6+ 、Debian 7+、Ubuntu 14+
|
2018-05-11 10:31:26 +00:00
|
|
|
|
|
|
|
|
|
使用root运行以下命令:
|
|
|
|
|
|
2018-05-11 10:34:28 +00:00
|
|
|
|
wget https://raw.githubusercontent.com/iiiiiii1/Socat/master/socat.sh && bash socat.sh
|
2018-05-11 10:31:26 +00:00
|
|
|
|
|
|
|
|
|
按要求输入本地服务器端口,要转发的目标端口和服务器IP即可!
|