IPsec VPN implementation with IKEv2, site-to-site and roadwarrior setups, EAP user auth, and clients for Linux, mobile, and desktop.
Overview
strongSwan is an open-source VPN built around the Internet Key Exchange protocols and IPsec. It secures IP traffic in policy-based and route-based tunnel or transport modes, from simple host pairs to gateways joining entire subnets.
The charon IKE daemon handles modern IKEv2 (with IKEv1 still available), IPv6, MOBIKE for roaming endpoints, NAT traversal, dead peer detection, virtual IP pools, and optional redirection of sessions between gateways. A modular plugin system supplies cryptographic algorithms, credential types, EAP methods, smartcard and TPM-backed keys, and integration with Linux networking stacks. Documented scenarios cover site-to-site links, host-to-host tunnels, remote access clients, virtual IPs, and password-based EAP authentication on gateways.
Operators configure connections and credentials through swanctl and load them into the daemon at runtime. Certificates may come from a public CA or be generated with the bundled pki tool. The same codebase has been ported to Linux kernels, Android, FreeBSD, macOS, iOS, and Windows, with a NetworkManager plugin on Linux desktops and a dedicated Android client app.
Deployments range from two gateway VMs bridging private networks to central VPN concentrators serving many road warriors using certificate or EAP credentials. Commercial licensing is offered alongside the GPLv2 open-source release.
Key features
- IKEv2 and IKEv1 key exchange
- Site-to-site and roadwarrior VPNs
- EAP user authentication methods
- X.509 and pre-shared key auth
- Virtual IP pools and MOBIKE
- Plugin-based crypto and EAP
- swanctl configuration interface
- Smartcard and TPM 2.0 key storage
Use cases
- Connecting private subnets over internet
- Remote workforce VPN access
- Certificate-based gateway peering
- Password EAP for mobile clients
- Linux desktop VPN via NetworkManager
Does the same job as
strongSwan doesn't name these products itself, but its own description shows it does the same job.