Skip to content

Monster-Release/GostScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gost Script

本脚本帮助你快速构建Gost安全隧道,保证数据安全有效传输。

  • 目前支持的隧道传输协议:tls,mtls,ws,mws,wss,mwss,kcp

  • 支持以上模式附加relay

  • 支持udp over tcp

  • 加入iptables中转支持(感谢arloor)

使用说明

本脚本已在CentOS7测试通过,当然其他系统也都可以用。

使用脚本之前需要有git,没有的话先安装

yum -y install git
apt-get install git

然后输入以下命令一键下载、赋权、运行

git clone https://github.com/HelloWorld-create/GostScript.git && chmod -R 777 ./GostScript && cd ./GostScript && bash gost.sh

运行之后按照引导来即可。

客户端运行在中转机器(见图解),服务端运行在最终服务提供机。

图解说明

本脚本构建的隧道可以用以下表示:

Gost拓扑

隧道在这里的作用就是,让最左侧的终端都能安全的接入最右侧最终服务

About

a gost script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages