# macosvpn を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:macosvpn
```

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

### macOS

- Homebrew (100%):

```sh
brew install macosvpn
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:macosvpn
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/macosvpn>
- **バージョン:** 2.0.0
- **ソース概要:** Create Mac OS VPNs programmatically
- **ホームページ:** <https://github.com/halo/macosvpn>
- **リポジトリ:** <https://github.com/halo/macosvpn>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/halo/macosvpn/archive/refs/tags/2.0.0.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 2.0.0
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/halo/macosvpn
- 検出された最新: 2.0.0 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

macosvpn is a Swift command-line tool for creating and deleting macOS VPN network services programmatically. The README documents support for L2TP over IPSec and Cisco IPSec configurations.

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

The official repository was created in July 2014. The README's own history section says the implementation began from research into Apple's networking discussions and practical examples for manipulating VPN configuration, shared secrets, traffic routing, and System Keychain entries.

The project packages that undocumented macOS VPN configuration knowledge into a CLI with create and delete commands. Its README emphasizes that administrator privileges are required because VPN passwords are stored in the System Keychain, and it explicitly chooses sudo over a separate HelperTool.

### 採用の歴史

macosvpn is distributed through Homebrew according to both the README and the batch input, and the README also points users to compiled GitHub release binaries. Repository metadata captured during this run showed several hundred GitHub stars and dozens of forks, indicating durable adoption among Mac administrators and automation users.

### 使われ方

Typical usage is `sudo macosvpn create --l2tp <name> --endpoint <host> --username <user> --password <password> --sharedsecret <secret>` or the Cisco IPSec variant. The README also documents flags such as `--force`, `--split`, disconnect behavior options, repeated arguments for creating multiple VPNs, and `macosvpn delete` for removing one or more services.

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

macosvpn is significant because VPN profiles are often part of fleet setup, CI test machines, and repeatable laptop provisioning, but macOS historically made this hard to automate with plain shell tools. A Homebrew-installable CLI gives package nerds a way to put VPN setup next to the rest of a bootstrap script.

### タイムライン

- 2014: Official GitHub repository created.
- 2017: 0.3.x releases covered macOS High Sierra.
- 2019: 1.0.0 release published for macOS Catalina.
- 2022: 2.0.0 Ventura release published.

### Related projects

- The README mentions Apple's SystemConfiguration preferences, the System Keychain, sudo, Xcode builds, and related helper libraries Moderator and PrettyColors.

### ソース

- <https://api.github.com/repos/halo/macosvpn>
- <https://api.github.com/repos/halo/macosvpn/releases>
- <https://github.com/halo/macosvpn>
- <https://github.com/halo/macosvpn#readme>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## 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

- macOS: /Library/Preferences/SystemConfiguration/preferences.plist

## Credential files

- macOS: /Library/Keychains/System.keychain
## ソースデータベース詳細

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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [Homebrew utility packages](https://pkg.so/ja/brew-utility-packages/) - Matched Homebrew package provider.
- [edgevpn](https://pkg.so/ja/brew/edgevpn/) - Shares pkgdb curated category or tags: cli, networking, vpn.
- [dsvpn](https://pkg.so/ja/brew/dsvpn/) - Shares pkgdb curated category or tags: cli, networking, vpn.
- [openvpn](https://pkg.so/ja/brew/openvpn/) - Shares pkgdb curated category or tags: cli, networking, vpn.
- [openfortivpn](https://pkg.so/ja/brew/openfortivpn/) - Shares pkgdb curated category or tags: cli, networking, vpn.
- [nebula](https://pkg.so/ja/brew/nebula/) - Shares pkgdb curated category or tags: cli, networking, vpn.
- [boringtun](https://pkg.so/ja/brew/boringtun/) - Shares pkgdb curated category or tags: cli, networking, vpn.
- [fastd](https://pkg.so/ja/brew/fastd/) - Shares pkgdb curated category or tags: cli, networking, vpn.
- [onioncat](https://pkg.so/ja/brew/onioncat/) - Shares pkgdb curated category or tags: cli, networking, vpn.

## Combined YAML source

View the package source record on GitHub. [combined/macosvpn.yml](https://github.com/mxcl/pkgdb/blob/main/combined/macosvpn.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
- cross-ecosystem install command graph
