Skip to content
/ socat-1 Public
forked from lzw981731/socat

Socat一键安装脚本,可转发TCP和UDP流量

Notifications You must be signed in to change notification settings

eiboot/socat-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Socat一键安装脚本

系统要求:支持CentOS 6+ 、Debian 7+、Ubuntu 14+

脚本说明:脚本默认开启UDPTCP转发,带开机自启功能,且一次只能转发单个端口,如果想转发多个端口请重复运行本脚本。

使用root运行以下命令:

wget https://raw.githubusercontent.com/lzw981731/Socat/master/socat.sh && bash socat.sh

按要求输入本地服务器端口,要转发的目标端口和服务器IP即可!

详细说明:http://www.vipkj.net/post-3270.htm

About

Socat一键安装脚本,可转发TCP和UDP流量

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%