# macosvpn を Homebrew でインストール

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

## インストール

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

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

### macOS

- Homebrew (100%):

```sh
brew install macosvpn
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:macosvpn
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.0.0
- **ソース概要:** Create Mac OS VPNs programmatically
- **ホームページ:** <https://github.com/halo/macosvpn>
- **リポジトリ:** <https://github.com/halo/macosvpn>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- macosvpn (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.0.0
## プロジェクトの歴史と使われ方

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

## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
