# Install openiked with Homebrew, apt, dnf, MacPorts

IKEv2 daemon - portable version of OpenBSD iked. Version 7.4 via Homebrew; verified from local package data. Also installable with debian: sudo apt install openiked.

## 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## Package facts

- **Package key:** brew:openiked
- **Package manager:** Homebrew
- **Version:** 7.4
- **Source summary:** IKEv2 daemon - portable version of OpenBSD iked
- **Homepage:** <https://openiked.org>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- ikectl (alias)
- iked (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 7.4
## 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/
## 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-6.fc45: normalized package name match | Fedora Rawhide package metadata: openiked from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## Combined YAML source

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


## Sources

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