# Install openiked with Homebrew, apt, dnf, MacPorts

IKEv2 daemon - portable version of OpenBSD iked. Version 7.4 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:openiked
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install openiked
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install openiked
```

  Evidence: MacPorts ports tree: net/openiked/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install openiked
```

  Evidence: Debian stable package indexes: openiked from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install openiked
```

  Evidence: Fedora Rawhide package metadata: openiked from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

## Package facts

- **Package key:** brew:openiked
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/openiked>
- **Version:** 7.4
- **Source summary:** IKEv2 daemon - portable version of OpenBSD iked
- **Homepage:** <https://openiked.org>
- **Repository:** <https://github.com/openiked/openiked-portable>
- **Upstream docs:** <https://github.com/openiked/openiked-portable#readme>
- **License:** ISC
- **Source archive:** <https://cdn.openbsd.org/pub/OpenBSD/OpenIKED/openiked-7.4.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- ikectl (cli)
- iked (cli)
- ikectl (alias)
- iked (alias)

## Dependencies

- libevent
- openssl@3

## Build dependencies

- cmake

## Uses from macOS

- bison

## Install behavior

- Post-install hook: not defined
- Service: declared
- Caveats: config file can be found here: $HOMEBREW_PREFIX/etc/iked.conf necessary files for configuration can be found here: $HOMEBREW_PREFIX/etc/iked/
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 7.4
- Local data: ok
- Upstream repository: https://openiked.org
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

OpenIKED is the OpenBSD project's free implementation of the IKEv2 protocol for establishing and maintaining IPsec VPN security associations. The Homebrew package ships the portable version of OpenBSD's iked daemon and ikectl control utility for non-OpenBSD Unix-like systems.

### Project history

The iked program first appeared in OpenBSD 4.8 and was written by Reyk Floeter. The official OpenIKED site describes it as a lean, clean, secure, configurable, and interoperable IKEv2 implementation focused on standards and important IKEv2 features rather than IKEv1 compatibility.

A 2013 OpenBSD presentation describes OpenIKED as an IKEv2 implementation based on RFC 5996, with portable work adding compatibility for non-OpenBSD systems. The openiked-portable repository later packaged that port for Linux, macOS, FreeBSD, and NetBSD.

### Adoption history

OpenIKED is a niche but important package because IPsec/IKEv2 is usually operating-system infrastructure, not a developer library. Its portable packaging through Homebrew, Debian/Ubuntu, Fedora, MacPorts, and FreeBSD gives operators access to OpenBSD's iked outside OpenBSD itself.

### How it is used

Administrators configure IKEv2 policies in iked.conf, then run iked to perform mutual authentication and establish IPsec flows and security associations. The OpenBSD manual describes iked.conf sections for macros, global settings, and automatic keying policies, with ikectl used for control and PKI-related workflows.

OpenIKED is used for site-to-site and client VPN scenarios where standard IKEv2 interoperability matters, including certificate-based deployments and clients that use native IKEv2 support.

### Why package nerds care

OpenIKED is package-nerd significant because it is a portable slice of OpenBSD network-security infrastructure. It brings the OpenBSD style of small, audited daemons and ISC licensing into package managers on systems that do not ship iked in base.

### Timeline

- OpenBSD 4.8: iked first appeared in OpenBSD.
- 2013: OpenIKED was presented as a portable IKEv2 VPN implementation.
- January 2021: the openiked-portable GitHub repository was created.
- April 2021: OpenIKED 6.9.0 was published in the portable repository releases.
- April 2025: OpenIKED 7.4 was published in the portable repository releases.

### Related projects

- OpenIKED is related to OpenBSD's isakmpd for older IKEv1 support, IPsec ESP/AH, strongSwan, native Windows and mobile IKEv2 clients, OpenSSL/LibreSSL, libevent, and OpenBSD's broader family of portable daemons.

### Sources

- <https://api.github.com/repos/openiked/openiked-portable>
- <https://formulae.brew.sh/formula/openiked>
- <https://github.com/openiked/openiked-portable>
- <https://github.com/openiked/openiked-portable/releases>
- <https://man.openbsd.org/iked.8>
- <https://man.openbsd.org/iked.conf.5>
- <https://manpages.debian.org/testing/openiked/iked.8.en.html>
- <https://www.openbsd.org/papers/openiked-asiabsdcon2013.pdf>
- <https://www.openiked.org/>


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- formula declares a Homebrew service


## 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: /etc/iked.conf, /etc/examples/iked.conf

## Credential files

- Unix: /etc/iked/private/local.key, /etc/iked/private/, /etc/iked/ca/, /etc/iked/certs/, /etc/iked/crls/, /etc/iked/pubkeys/
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** openiked
- **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

## Other Package-Manager Records

- Debian apt - openiked - 7.4-1: normalized package name match | Debian stable package indexes: openiked from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Internet Key Exchange (IKEv2) daemon | https://www.openiked.org/
- Ubuntu apt - openiked - 7.3-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: openiked from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Internet Key Exchange (IKEv2) daemon | https://www.openiked.org/
- dnf - openiked - 7.4-4.fc44: normalized package name match | Fedora Rawhide package metadata: openiked from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A free Internet Key Exchange (IKEv2) implementation | https://github.com/openiked/openiked-portable
- MacPorts - openiked: normalized package name match | MacPorts ports tree: net/openiked/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://www.automicvault.com/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [libevent](https://www.automicvault.com/pkg/brew/libevent/) - Runtime dependency declared by Homebrew.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [fastd](https://www.automicvault.com/pkg/brew/fastd/) - Shares av.db curated category or tags: cli, daemon, networking, vpn.
- [openvpn](https://www.automicvault.com/pkg/brew/openvpn/) - Shares av.db curated category or tags: cli, network-security, networking, vpn.
- [wireguard-tools](https://www.automicvault.com/pkg/brew/wireguard-tools/) - Shares av.db curated category or tags: cli, network-security, networking, vpn.
- [boringtun](https://www.automicvault.com/pkg/brew/boringtun/) - Shares av.db curated category or tags: cli, networking, vpn.
- [dsvpn](https://www.automicvault.com/pkg/brew/dsvpn/) - Shares av.db curated category or tags: cli, networking, vpn.
- [edgevpn](https://www.automicvault.com/pkg/brew/edgevpn/) - Shares av.db curated category or tags: cli, networking, vpn.
- [headscale-cli](https://www.automicvault.com/pkg/brew/headscale-cli/) - Shares av.db curated category or tags: cli, networking, vpn.
- [macosvpn](https://www.automicvault.com/pkg/brew/macosvpn/) - Shares av.db curated category or tags: cli, networking, vpn.
- [rpki-client](https://www.automicvault.com/pkg/brew/rpki-client/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, networking, openbsd, openssl, openssl-3.

## Combined YAML source

View the package source record on GitHub. [combined/openiked.yml](https://github.com/automic-vault/db/blob/main/combined/openiked.yml)


## Sources

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