Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

gost

> 编程语言
Open source

GO Simple Tunnel - a simple tunnel written in golang

7.2K stars0 likes2 views
WebsiteGitHub

About

GO Simple Tunnel - a simple tunnel written in golang

GO Simple Tunnel

GO语言实现的安全隧道

功能特性

  • 多端口监听
  • 多级转发链
  • 多协议支持
  • TCP/UDP端口转发
  • 反向代理和隧道
  • TCP/UDP透明代理
  • DNS解析和代理
  • TUN/TAP设备与TUN2SOCKS
  • 负载均衡
  • 路由控制
  • 准入控制
  • 限速限流
  • 插件系统
  • Prometheus监控指标
  • 动态配置
  • Web API
  • GUI/WebUI

概览

GOST作为隧道有三种主要使用方式。

正向代理

作为代理服务访问网络,可以组合使用多种协议组成转发链进行转发。

端口转发

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

反向代理

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

下载安装

二进制文件

https://github.com/go-gost/gost/releases

安装脚本

bash
# 安装最新版本 [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
# 选择要安装的版本
bash <(curl -fsSL https://github.com/go-gost/gost/raw/master/install.sh)

源码编译

bash
git clone https://github.com/go-gost/gost.git
cd gost/cmd/gost
go build

Docker

bash
docker run --rm gogost/gost -V

工具

GUI

go-gost/gostctl

WebUI

go-gost/gost-ui

Shadowsocks Android插件

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

Issues· 102 open

View all issuesOpen on GitHub
  • #908

    vpn1(amnezia xray) + gost + vpn2(amnezia xray) does not work

    Updated Sep 23, 2026
  • #902

    add gost to winget

    Updated Sep 20, 2026
  • #904

    sni handler: connections dropped after exactly 15s (readTimeout deadline applied to entire session)

    Updated Sep 12, 2026
  • #869

    configuration

    Updated Sep 8, 2026
  • #901

    API 修改 tungo 配置失败

    Updated Sep 5, 2026
  • #899

    Whitelist bypass + sniffing: domain allowlist broken since 3.3.0

    Updated Sep 2, 2026
  • #858

    Wireguard traffic wrapped inside relay protocol add significant latency

    questionUpdated Aug 26, 2026
  • #679

    Issue with gost forwarding requests to Tor domain: "http: no Host in request URL"

    Updated Aug 26, 2026
  • #677

    能否让gost转发前添加ProxyProtocol头部

    enhancementUpdated Aug 26, 2026
  • #892

    pht hang

    Updated Aug 3, 2026

> Tags

Godnsdtlsgolanggrpc

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 2, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言