GOST is a Go program that runs local listeners and forwards traffic through optional multi-hop proxy chains. It implements common proxy and tunnel protocols for TCP and UDP forwarding.
Overview
GOST (GO Simple Tunnel) is a command-line tunnel and proxy tool written in Go. It can expose one or more local ports and forward connections through a configurable chain of upstream proxies before they reach a target host.
Supported listener and hop types include HTTP, HTTPS, HTTP/2, SOCKS4(A), SOCKS5, and Shadowsocks, with optional authentication on standard HTTP and SOCKS5 paths. Beyond classic forward proxies, it can perform local and remote TCP and UDP port forwarding, with UDP-over-TCP used when a chain ends in GOST SOCKS5.
Additional transports cover QUIC and KCP as first-hop options, SSH as either a forwarding channel or encapsulation layer, obfs4 wrapping, and TLS for HTTPS-style links. HTTP/2 can run in dedicated proxy mode or as a tunnel carrying other protocols. Transparent proxy setup is documented with iptables.
Binaries, Docker, Homebrew, and other distribution paths are listed for installation. The legacy v2 tree is in maintenance only; ongoing development moved to the separate GOST v3 project.
Key features
- Multi-port listeners
- Multi-hop proxy chains
- HTTP HTTPS HTTP2 SOCKS5 proxies
- Shadowsocks server and client
- TCP and UDP port forwarding
- QUIC and KCP transport modes
- SSH tunnel forwarding modes
- iptables transparent proxy
Use cases
- Chaining proxies to reach blocked hosts
- Local port forwarding to remote services
- Remote exposure of internal TCP ports
- Encrypted SOCKS5 or Shadowsocks hops
- UDP DNS forwarding through a tunnel