MCPcopy
hub / github.com/go-gost/gost

github.com/go-gost/gost @v3.2.7-nightly.20260703 sqlite

repository ↗ · DeepWiki ↗ · release v3.2.7-nightly.20260703 ↗
152 symbols 525 edges 23 files 64 documented · 42%
README

GO Simple Tunnel

A simple security tunnel written in golang

en zh

Features

Overview

Overview

There are three main ways to use GOST as a tunnel.

Proxy

As a proxy service to access the network, multiple protocols can be used in combination to form a forwarding chain for traffic forwarding.

Proxy

Port Forwarding

Mapping the port of one service to the port of another service, you can also use a combination of multiple protocols to form a forwarding chain for traffic forwarding.

Forward

Reverse Proxy

Use tunnel and intranet penetration to expose local services behind NAT or firewall to public network for access.

Reverse Proxy

Installation

Binary files

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

install script

# install latest from [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
# select version for install 
bash <(curl -fsSL https://github.com/go-gost/gost/raw/master/install.sh)

From source

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

Docker

docker run --rm gogost/gost -V

Tools

GUI

go-gost/gostctl

WebUI

go-gost/gost-ui

Shadowsocks Android

hamid-nazari/ShadowsocksGostPlugin

Support

Wiki: https://gost.run

YouTube: https://www.youtube.com/@gost-tunnel

Telegram: https://t.me/gogost

Google group: https://groups.google.com/d/forum/go-gost

Legacy version: v2.gost.run

Core symbols most depended-on inside this repo

DumpLogs
called by 28
tests/e2e/utils.go
RunGostContainerWithPorts
called by 26
tests/e2e/utils.go
RunGostContainerWithFiles
called by 17
tests/e2e/utils.go
recvn
called by 7
tests/e2e/scripts/http_udp_relay.py
RenderConfig
called by 6
tests/e2e/utils.go
RunGostContainerWithOptions
called by 6
tests/e2e/utils.go
RunEchoContainer
called by 5
tests/e2e/utils.go
runGostContainer
called by 4
tests/e2e/utils.go

Shape

Method 89
Function 50
Struct 9
Class 3
TypeAlias 1

Languages

Go80%
Python20%

Modules by API surface

tests/e2e/http_test.go22 symbols
tests/e2e/dns_test.go17 symbols
tests/e2e/utils.go15 symbols
tests/e2e/forward_test.go14 symbols
tests/e2e/http2_test.go12 symbols
tests/e2e/shadowsocks_test.go11 symbols
tests/e2e/file_test.go10 symbols
cmd/gost/program.go9 symbols
tests/e2e/scripts/dns_query.py8 symbols
cmd/gost/main.go6 symbols
tests/e2e/scripts/http_udp_relay.py5 symbols
tests/e2e/parallel_selector_test.go5 symbols

Dependencies from manifests, versioned

dario.cat/mergov1.0.2 · 1×
github.com/Azure/go-ansitermv0.0.0-2025010203350 · 1×
github.com/Microsoft/go-winiov0.6.2 · 1×
github.com/alecthomas/unitsv0.0.0-2021121809364 · 1×
github.com/alessio/shellescapev1.4.1 · 1×
github.com/andybalholm/brotliv1.0.6 · 1×
github.com/asaskevich/govalidatorv0.0.0-2021030708111 · 1×
github.com/beorn7/perksv1.0.1 · 1×
github.com/bytedance/sonicv1.11.6 · 1×
github.com/bytedance/sonic/loaderv0.1.1 · 1×
github.com/cespare/xxhash/v2v2.3.0 · 1×

For agents

$ claude mcp add gost \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact