GO Simple Tunnel - a simple tunnel written in golang

GOST作为隧道有三种主要使用方式。
作为代理服务访问网络,可以组合使用多种协议组成转发链进行转发。

将一个服务的端口映射到另外一个服务的端口,同样可以组合使用多种协议组成转发链进行转发。

利用隧道和内网穿透将内网服务暴露到公网访问。

https://github.com/go-gost/gost/releases
从 Releases 下载对应架构的安装包(amd64、amd64v3、arm64):
# Debian/Ubuntu
sudo apt install ./gost_<version>_linux_amd64.deb
# RHEL/Fedora
sudo dnf install ./gost_<version>_linux_amd64.rpm
amd64v3 包需要支持 AVX2 的 CPU(x86-64-v3),否则请使用 amd64。
安装包附带 systemd 服务,但不会自动启用:先创建 /etc/gost/gost.yml(示例见 /usr/share/doc/gost/examples/gost.yml),再执行 sudo systemctl enable --now gost。未提供配置文件时该服务会被跳过,而不是报错。
# 安装最新版本 [https://github.com/go-gost/gost/releases](https://github.com/go-gost/gost/releases)
bash <(curl -fsSL https://github.com/go-gost/gost/raw/master/install.sh) --install
# 选择要安装的版本
bash <(curl -fsSL https://github.com/go-gost/gost/raw/master/install.sh)
git clone https://github.com/go-gost/gost.git
cd gost/cmd/gost
go build
docker run --rm gogost/gost -V
hamid-nazari/ShadowsocksGostPlugin
Wiki站点:https://gost.run
YouTube: https://www.youtube.com/@gost-tunnel
Telegram:https://t.me/gogost
Google讨论组:https://groups.google.com/d/forum/go-gost
旧版入口:v2.gost.run