---
id: "strongswan"
type: "component"
kind: "vpn-gateway"
provider: "default"
category: "edge"
docs: "https://docs.strongswan.org/docs/latest/index.html"
url: "https://localhost:3000/catalogue/components/strongswan"
---

# strongSwan

IPsec IKEv2 daemon for site-to-site tunnels and remote access with NAT traversal and MOBIKE.

| | |
|---|---|
| Provider | [default](https://localhost:3000/catalogue?provider=default) |
| Kind | [VPN gateway](https://localhost:3000/catalogue/kinds/vpn-gateway) |
| Category | Edge |
| Official docs | [https://docs.strongswan.org/docs/latest/index.html](https://docs.strongswan.org/docs/latest/index.html) |

## Properties

| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| `activeActive` | boolean | — | no | false | **false** |
| `authMethod` | enum | `psk`, `certificate`, `eap` | no | "certificate" | inherited |
| `bgp` | boolean | — | no | false | **false** |
| `ikeVersion` | enum | `ikev1`, `ikev2` | no | "ikev2" | inherited |
| `managed` | boolean | — | no | false | **false** |
| `mobike` | boolean | — | no | true | inherited |
| `natTraversal` | boolean | — | no | true | inherited |
| `peerType` | enum | `site-to-site`, `point-to-site`, `cloud-to-cloud` | no | — | **"site-to-site"** |
| `throughputMbps` | integer | — | no | — | inherited |
| `tunnelType` | enum | `ipsec`, `ssl`, `wireguard` | no | — | **"ipsec"** |

Bold values are the ones this component pins.

## Rules that apply · 0

No rule selects this kind or its category.

## Other products of the same kind · 18

- [VPN Gateway](https://localhost:3000/catalogue/components/alibaba-vpn-gateway.md) `alibaba-vpn-gateway` — alibabacloud
- [AWS Client VPN](https://localhost:3000/catalogue/components/aws-client-vpn.md) `aws-client-vpn` — aws
- [AWS Site-to-Site VPN](https://localhost:3000/catalogue/components/aws-site-to-site-vpn.md) `aws-site-to-site-vpn` — aws
- [Azure VPN Gateway](https://localhost:3000/catalogue/components/azure-vpn-gateway.md) `azure-vpn-gateway` — azure
- [NetBird](https://localhost:3000/catalogue/components/netbird.md) `netbird` — default
- [OpenVPN](https://localhost:3000/catalogue/components/openvpn.md) `openvpn` — default
- [Submariner](https://localhost:3000/catalogue/components/submariner.md) `submariner` — default
- [Tailscale](https://localhost:3000/catalogue/components/tailscale.md) `tailscale` — default
- [Generic VPN gateway](https://localhost:3000/catalogue/components/vpn-gateway.md) `vpn-gateway` — default
- [WireGuard](https://localhost:3000/catalogue/components/wireguard.md) `wireguard` — default
- [ZeroTier](https://localhost:3000/catalogue/components/zerotier.md) `zerotier` — default
- [Cloud VPN](https://localhost:3000/catalogue/components/google-cloud-vpn.md) `google-cloud-vpn` — gcp
- [IBM Cloud VPN for VPC](https://localhost:3000/catalogue/components/ibm-vpn-gateway.md) `ibm-vpn-gateway` — ibm
- [Client VPN for VPC](https://localhost:3000/catalogue/components/ibm-vpn-server.md) `ibm-vpn-server` — ibm
- [Site-to-Site VPN](https://localhost:3000/catalogue/components/oci-site-to-site-vpn.md) `oci-site-to-site-vpn` — oci
- [Neutron VPNaaS](https://localhost:3000/catalogue/components/openstack-neutron-vpnaas.md) `openstack-neutron-vpnaas` — openstack
- [Client Gateway](https://localhost:3000/catalogue/components/outscale-client-gateway.md) `outscale-client-gateway` — outscale
- [Virtual Gateway](https://localhost:3000/catalogue/components/outscale-virtual-gateway.md) `outscale-virtual-gateway` — outscale

## Use it in a design

```yaml
nodes:
  - { id: "strongswan", component: "strongswan" }
```

## Source (`component` YAML, verbatim)

```yaml
# yaml-language-server: $schema=../../schema/component.schema.json
# strongSwan: IPsec IKE daemon implementing IKEv2 and legacy IKEv1, configured through
# vici/swanctl. Documented scenarios cover both site-to-site tunnels and remote access
# with virtual IPs, MOBIKE and NAT traversal; routing is static unless a plugin adds BGP.
schemaVersion: "1"
type: "component"
id: "strongswan"
kind: "vpn-gateway"
provider: "default"
docs: "https://docs.strongswan.org/docs/latest/index.html"
defaults:
  managed: false
  tunnelType: "ipsec"
  peerType: "site-to-site"
  bgp: false
  activeActive: false
properties:
  ikeVersion:
    type: "enum"
    values: ["ikev1", "ikev2"]
    default: "ikev2"
  authMethod:
    type: "enum"
    values: ["psk", "certificate", "eap"]
    default: "certificate"
  natTraversal:
    type: "boolean"
    default: true
  mobike:
    type: "boolean"
    default: true
```

Human page: https://localhost:3000/catalogue/components/strongswan
