GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - go-gost/gost: GO Simple Tunnel - a simple tunnel written in golang

BranchesTags
Open more actions menu

Latest commit

 

History

580 Commits
580 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
cmd/gost
cmd/gost
 
 
tests/e2e
tests/e2e
 
 
.gitignore
.gitignore
 
 
.goreleaser.yaml
.goreleaser.yaml
 
 
CLAUDE.md
CLAUDE.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
README_en.md
README_en.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
gost.service
gost.service
 
 
gost.yml
gost.yml
 
 
install.sh
install.sh
 
 

Repository files navigation

GO Simple Tunnel

GO语言实现的安全隧道

zh en

功能特性

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

概览

Overview

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

正向代理

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

Proxy

端口转发

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

Forward

反向代理

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

Reverse Proxy

下载安装

二进制文件

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

系统包(DEB/RPM)

从 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

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

About

GO Simple Tunnel - a simple tunnel written in golang

gost.run

Topics

dnsdtlsgolanggrpchttphttp2http3httpsicmp-tunnelkcpquicreverse-proxyshadowsockssocks4asocks5sshtun2sockstunneltuntapwebsocket

Resources

Readme
MIT license
Activity
Custom properties

Stars

7.8k stars

Watchers

52 watching

Forks

852 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.