# gotun を Homebrew, dnf でインストール

gotun のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:gotun
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install gotun
```

  証拠: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install gotun
```

  証拠: Fedora Rawhide package metadata: gotun from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:gotun
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/gotun>
- **バージョン:** 0.8.1
- **ソース概要:** Lightweight HTTP proxy over SSH
- **ホームページ:** <https://github.com/Sesame2/gotun>
- **リポジトリ:** <https://github.com/Sesame2/gotun>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/Sesame2/gotun/archive/refs/tags/v0.8.1.tar.gz>
- **最終更新:** 2026-07-29T16:05:05+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- gotun (cli)
- gotun (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.8.1
- マネージャ更新日: 2026-07-29
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/Sesame2/gotun
- 検出された最新: v0.8.1 (最新)
## プロジェクトの歴史と使われ方

gotun is a Go command-line HTTP-over-SSH proxy that uses a remote SSH host as the egress point for HTTP and HTTPS traffic.

### プロジェクトの歴史

The official README describes gotun as a cross-platform forward proxy that requires only SSH on the remote host. Its feature set includes HTTP and HTTPS proxying, SOCKS5, jump hosts, system proxy integration, rule-based routing, shell completion, and TUN mode for TCP application proxying.

### 採用の歴史

gotun is distributed through release binaries, `go install`, Homebrew, and source builds. Homebrew packages version 0.8.1 in homebrew/core, and the README also links Go Reference documentation via pkg.go.dev.

### 使われ方

Users run `gotun user@example.com` to start a local proxy, add `-p` or `-i` for SSH port and identity file selection, use `-J` for jump hosts, and pass `--rules` to load a Clash-style YAML rules file. The README recommends SSH key authentication and warns against passing passwords directly on the command line.

### パッケージ好きにとっての重要性

gotun fits the packaging niche of small Go networking binaries: one executable, cross-platform release artifacts, Homebrew distribution, and behavior that composes with existing SSH infrastructure instead of requiring a remote daemon.

### タイムライン

- 0.8.1: Homebrew packages gotun as the current stable release.
- README era: SOCKS5, rule-based routing, jump hosts, and TUN mode are documented upstream.

### Related projects

- gotun is related to OpenSSH port forwarding, SOCKS proxies, Clash-style rule files, SSH jump hosts, and TUN/TAP-style tunneling tools.

### ソース

- <https://formulae.brew.sh/formula/gotun>
- <https://github.com/Sesame2/gotun#readme>
- <https://pkg.go.dev/github.com/Sesame2/gotun>


## セキュリティノート

broad file, network, media, or database tool signal.

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: rules.yaml

## Credential files

- Unix: ~/.ssh/id_rsa
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gotun
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 他のパッケージマネージャ記録

- dnf - gotun - 0-0.24.gita9dbe4d.fc42: normalized package name match | Fedora Rawhide package metadata: gotun from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Tool to run tests on OpenStack | https://github.com/kushaldas/gotun
- dnf - gotun-devel - 0-0.24.gita9dbe4d.fc42: normalized package name match | Fedora Rawhide package metadata: gotun-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Tool to run tests on OpenStack | https://github.com/kushaldas/gotun


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [corkscrew](https://pkg.so/ja/brew/corkscrew/) - Shares pkgdb curated category or tags: cli, http-proxy, networking, proxy, ssh.
- [connect](https://pkg.so/ja/brew/connect/) - Shares pkgdb curated category or tags: cli, networking, proxy, ssh, tunneling.
- [proxychains-ng](https://pkg.so/ja/brew/proxychains-ng/) - Shares pkgdb curated category or tags: cli, http-proxy, networking, proxy.
- [shadowsocks-libev](https://pkg.so/ja/brew/shadowsocks-libev/) - Shares pkgdb curated category or tags: cli, networking, proxy, socks5.
- [shadowsocks-rust](https://pkg.so/ja/brew/shadowsocks-rust/) - Shares pkgdb curated category or tags: cli, networking, proxy, socks5.
- [microsocks](https://pkg.so/ja/brew/microsocks/) - Shares pkgdb curated category or tags: cli, networking, proxy, socks5.
- [proxytunnel](https://pkg.so/ja/brew/proxytunnel/) - Shares pkgdb curated category or tags: cli, networking, proxy, ssh, tunneling.
- [sslh](https://pkg.so/ja/brew/sslh/) - Shares pkgdb curated category or tags: cli, networking, proxy, ssh.

## Combined YAML source

View the package source record on GitHub. [combined/gotun.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gotun.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
