Socat/README.md

13 lines
402 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Socat一键安装脚本支持DDNS域名
系统要求支持CentOS 6+ 、Debian 7+、Ubuntu 14+
脚本说明脚本默认开启UDP、TCP转发带开机自启功能。
使用 root 运行以下命令:
```bash
wget https://raw.githubusercontent.com/baichal/Socat/main/socat.sh && bash socat.sh
```
按要求输入本地服务器端口要转发的目标端口和服务器IP即可