Socat/README.md

14 lines
532 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

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://git.igewu.org/yanglc/Socat/raw/branch/master/socat.sh && bash socat.sh
```
按要求输入本地服务器端口要转发的目标端口和服务器IP即可
详细说明https://www.moerats.com/archives/621/