Update README.md

master
iiiiiii1 2018-05-12 09:33:49 +08:00 committed by GitHub
parent 58ce4e5eb4
commit 05e75f556f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -1,9 +1,10 @@
Socat一键安装脚本
-----------
支持CentOS 6+ 、Debian 7+、Ubuntu 14+
**系统要求:**支持CentOS 6+ 、Debian 7+、Ubuntu 14+
**脚本说明:**脚本默认开启`UDP`、`TCP`转发,带开机自启功能,且一次只能转发单个端口,如果想转发多个端口请重复运行本脚本。
使用root运行以下命令
使用`root`运行以下命令:
   wget https://raw.githubusercontent.com/iiiiiii1/Socat/master/socat.sh && bash socat.sh
wget https://raw.githubusercontent.com/iiiiiii1/Socat/master/socat.sh && bash socat.sh
按要求输入本地服务器端口要转发的目标端口和服务器IP即可