About strongSwan
strongSwan is a modular, portable, open-source VPN solution based on IPsec. It implements the Internet Key Exchange protocols, with IKEv2 as the main one and IKEv1 also supported, to secure IP traffic in policy- and route-based IPsec setups from simple to very complex. The latest release shown is version 6.1.0, dated 2026-09-07.
A plugin system lets crypto algorithms, credentials, authentication methods, configuration and network stack access be supplied as modules. Authentication covers X.509 certificates, pre-shared keys and EAP methods such as EAP-TLS and EAP-MSCHAPv2, with private keys held on a smartcard or TPM 2.0. Post-quantum key exchange including ML-KEM is supported.
It runs on Linux kernels from 2.6 through 6.x, has been ported to Android, FreeBSD, macOS, iOS and Windows, and has a NetworkManager plugin for Linux desktops. The source code is GPLv2 with commercial licensing options, and the site says free and commercial support is available.
Key features
- IKEv2 key exchange with IKEv1 also supported
- MOBIKE for dynamic IP address and interface updates
- NAT traversal through UDP encapsulation
- EAP user authentication methods including EAP-TLS
- Post-quantum key exchange including ML-KEM
- Private keys on a smartcard or TPM 2.0
- Modular plugin system
Good fit for
- Site-to-site IPsec tunnels
- Remote-access VPN with certificate or EAP authentication
strongSwan: questions and answers
- What is strongSwan used for?
- strongSwan is an open-source, modular IPsec VPN implementation with IKEv2 and IKEv1 support for Linux, Android, FreeBSD, macOS and Windows. It is a good fit for site-to-site IPsec tunnels and remote-access VPN with certificate or EAP authentication.
- Is strongSwan open source?
- Yes. strongSwan is open source under a custom licence. Its source code is on GitHub at strongswan/strongswan and is written mainly in C.
- Is strongSwan free?
- Yes. strongSwan is open source, so the software itself is free to use under the terms of its own licence.
- Can I self-host strongSwan?
- Yes. strongSwan can be self-hosted on your own server or infrastructure.
- What is strongSwan an alternative to?
- strongSwan is an open-source alternative to Tailscale and NordLayer. Other open-source alternatives to Tailscale include OpenZiti, Firezone and Octelium.
- Is strongSwan actively maintained?
- Yes. The most recent commit to strongSwan was on 11 November 2026, and the latest release is 6.1.0, published on 7 September 2026. The project has 3.1k stars on GitHub, with 51 added in the last 30 days.
Open-source alternatives to strongSwan
See all
OpenZiti
Networking & VPN
The parent project for OpenZiti. Here you will find the executables for a fully zero-trust
Apache-2.0vs Twingate★ 4.5k
Firezone
Networking & VPN
Blazing-fast remote access
Apache-2.0vs Tailscale★ 9.2k
Octelium
Networking & VPN
A next-gen FOSS self-hosted unified zero trust secure access platform that can operate as
AGPL-3.0vs Tailscale★ 4.2k
OpenVPN
Networking & VPN
OpenVPN is an open source VPN daemon
OSSvs NordLayer★ 15k
NetBird
Networking & VPN
Connect your devices, users, and agents into a secure WireGuard®-based overlay network wit
OSSvs Tailscale★ 31kHeadscale
Networking & VPN
An open source, self-hosted implementation of the Tailscale control server
BSD-3-Clausevs Tailscale★ 46k
SaaS alternatives to strongSwan
See all
Tailscale
Networking & VPN
Mesh VPN and zero trust network that connects devices without manual configuration
SaaS
NordLayer
Networking & VPN
Business VPN and network access security for remote and hybrid teams
SaaS
Cloudflare Zero Trust
Security
Zero trust network access, secure web gateway and browser isolation from Cloudflare
SaaS
Twingate
Networking & VPN
Zero trust remote access service positioned as a replacement for business VPNs
SaaS
StrongDM
Security
Access management proxy for databases, servers and Kubernetes with audit logging
SaaS
Teleport
Security
Infrastructure access platform for secure access to servers, databases and clusters
SaaS

