Enterprise-grade strongSwan VPN packages with PostgreSQL database support. Production-ready builds for modern Linux distributions.
Signed packages for modern Linux distributions. Install all or just what you need.
strongswan-sw
Complete strongSwan VPN distribution with all standard plugins. This is the base package required for IKEv2/IPsec VPN server functionality.
strongswan-pgsql
PostgreSQL database backend for strongSwan. Enables sql and attr-sql plugins to store credentials, IP pools, and connection attributes.
strongswan-dhcp-inform
Responds to Windows DHCP INFORM requests with split-tunnel routes from PostgreSQL. Delivers classless static routes via DHCP option 121/249.
Add our repository and install packages with your system's package manager.
Fedora 39, 40, 41, 42 (x86_64)
# Add repository
sudo dnf config-manager --add-repo \
https://repo.sw.foundation/rpm/fc$(rpm -E %fedora)/sw.repo
# Install strongSwan SW
sudo dnf install strongswan-sw
Requires strongswan-sw
# Install PostgreSQL Plugin
sudo dnf install strongswan-pgsql
Requires strongswan-pgsql
# Install DHCP INFORM Plugin
sudo dnf install strongswan-dhcp-inform
Ubuntu 22.04 | Ubuntu 24.04 | Debian 12
# Add GPG key
curl -fsSL https://repo.sw.foundation/keys/sw.gpg \
| sudo gpg --dearmor -o /etc/apt/keyrings/sw.gpg
# Add repository
echo "deb [signed-by=/etc/apt/keyrings/sw.gpg] \
https://repo.sw.foundation/deb $(lsb_release -cs) main" \
| sudo tee /etc/apt/sources.list.d/sw.list
sudo apt update
# Install strongSwan SW
sudo apt install strongswan-sw
Requires strongswan-sw
# Install PostgreSQL Plugin
sudo apt install strongswan-pgsql
Requires strongswan-pgsql
# Install DHCP INFORM Plugin
sudo apt install strongswan-dhcp-inform
See our documentation for setup guides and configuration.
All packages are signed with our GPG key. Verify authenticity before installation.
4AC4 06DA 15C9 BE4D C1A0 2343 A187 D55B 5A04 3632
Import manually: curl -fsSL https://repo.sw.foundation/keys/sw.gpg | gpg --import