MCPcopy Index your code
hub / github.com/go-gost/gost

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

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.2.7-nightly.20260703 ↗ · + Follow
152 symbols 525 edges 23 files 64 documented · 42% 88 cross-repo links updated 4d agov3.2.7-nightly.20260705 · 2026-07-05★ 7,097117 open issues

Browse by type

Functions 139 Types & classes 13
What it actually does AI analysis from the code graph — generated when you open this
loading…
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

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/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×

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page