gotun
brew install gotun
v0.8.1
MIT
Lightweight HTTP proxy over SSH
7
30-day installs · #9505
9
90-day · #12210
184
365-day · #7561
117
★ GitHub stars · updated 5mo ago
Build dependencies
GitHub topics
cli
forward-proxy
go
network
ssh
Links
- https://github.com/Sesame2/gotun
- GitHub: Sesame2/gotun
- Brew formula source: Formula/g/gotun.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"go"
],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Lightweight HTTP proxy over SSH",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:38:21+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "gotun",
"github_default_branch": "main",
"github_last_commit_at": "2026-03-13T13:29:54Z",
"github_readme_excerpt": "# gotun\nEnglish | [\u7b80\u4f53\u4e2d\u6587](README-CN.md)\n\n[](https://pkg.go.dev/github.com/Sesame2/gotun)\n[](https://goreportcard.com/report/github.com/Sesame2/gotun)\n[](https://github.com/Sesame2/gotun/releases)\n[](https://github.com/Sesame2/gotun/releases)\n[](https://formulae.brew.sh/formula/gotun)\n\n[](LICENSE)\n\n\u003e Lightweight HTTP-over-SSH proxy written in Go, designed to be cross-platform and easy to deploy.\n\n---\n\n## Overview\n\n`gotun` is a command-line HTTP-over-SSH proxy. It establishes an SSH connection to a remote host and uses that host as the **egress point** for HTTP(S) traffic. Local HTTP requests are forwarded through the SSH tunnel and executed from the remote host.\n\nTypical use cases:\n\n- Accessing routers, servers, APIs and other resources in a private network\n- Reaching networks that are only visible from a specific host (bastion/jump host, corporate network, isolated segments, etc.)\n- Using the remote host as an outbound HTTP proxy\n\n---\n\n## How it works\n\n### Before: no direct access to internal resources\n\n```text\nYour machine Firewall/NAT Internal network\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502 \u2502 \u274c direct \u2502 \u2502 \u2502 Router \u2502\n\u2502 PC \u2502 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u25b6 \u2502 FW/NAT \u2502 \u2502 NAS \u2502\n\u2502 \u2502 blocked \u2502 \u2502 \u2502 Servers \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n```\n\n### After: access via SSH bastion ",
"github_repo": "Sesame2/gotun",
"github_stars": 117,
"github_topics": [
"cli",
"forward-proxy",
"go",
"network",
"ssh"
],
"homepage": "https://github.com/Sesame2/gotun",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 7,
"installs_365d": 184,
"installs_90d": 9,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": null,
"llm_model": null,
"name": "gotun",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 9505,
"rank_365d": 7561,
"rank_90d": 12210,
"raw_hash": "63bbab8744b90112",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/g/gotun.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "0.8.1",
"versioned_formulae": [],
"why_use_this": null
}