This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
Socat一键安装脚本
-----------
**系统要求:**支持CentOS 6+ 、Debian 7+、Ubuntu 14+
**脚本说明:**脚本默认开启`UDP`、`TCP`转发,带开机自启功能,且一次只能转发单个端口,如果想转发多个端口请重复运行本脚本。
使用`root`运行以下命令:
wget https://raw.githubusercontent.com/iiiiiii1/Socat/master/socat.sh && bash socat.sh
按要求输入本地服务器端口,要转发的目标端口和服务器IP即可!