setup-ipsec-vpn
VPNs and proxies
29k 6.5k 3 days ago Active Unknown
IPsec VPN suite for Linux, Android, macOS and FreeBSD with certificate authentication
Listed by Alston Antony, founder & editor
Health
ActiveStars
3,067
Last commit
today
Nov 2026
Repository age
16 years
since Oct 2010
Latest version
6.1.0
Sep 2026
Contributors
–
7 active in 90 days
Releases
5
last 12 months
Language
C
strongSwan is a modular IPsec VPN solution written in C. It supports IKEv2 and covers both VPN clients and gateways. It runs on Linux, Android, macOS, FreeBSD and Windows, and is available through F-Droid and Homebrew.
Configuration uses the swanctl command and the vici interface. You define connections in swanctl.conf and load credentials and connections into the charon daemon. A bundled pki tool generates keys and certificates. Documented scenarios include site-to-site tunnels between two gateways and host-to-host links. Setting start_action to trap brings a tunnel up when matching traffic appears.
The older ipsec command with the stroke interface is deprecated. The project dates to 2010 and has had 5 releases in the last year. It is licensed GPL-2.0-or-later. It can stand in for commercial VPN gateways and clients built on IPsec.
It supports certificate-based gateway tunnels between subnets with documented examples.
Skip if: You want a simple point-and-click VPN; a WireGuard-based tool is easier.
A client is available through F-Droid, and Linux uses the same toolset.
Skip if: You only need a basic consumer VPN subscription.
Connecting networks or remote users over IPsec often means relying on a vendor appliance or client. strongSwan provides open source IPsec and IKEv2 for both ends of the tunnel.
swanctl --load-creds
swanctl --load-conns From the project's own install instructions. Check the docs for production settings.
Yes. It is open source under GPL-2.0-or-later.
Yes. It works as a gateway and as a client.
Linux, Android, FreeBSD, macOS and Windows.
Run swanctl --load-creds for certificates and keys, then swanctl --load-conns for connections.
VPNs and proxies
29k 6.5k 3 days ago Active Unknown
VPNs and proxies
Self-hosted Shadowsocks proxy server with a REST API for managing access keys
6.3k 878 4 days ago Slowing Apache-2.0
VPNs and proxies
Open source client for the Mullvad VPN service on desktop and mobile
7.8k 570 today Thriving GPL-3.0
Replaces Free VPNs
VPNs and proxies
Peer-to-peer VPN, TCP reverse proxy and file transfer joined by a shared token
2.1k 214 5 days ago Thriving Apache-2.0
VPNs and proxies
WebRTC overlay VPN for reaching nodes behind NAT without opening ports
2.1k 81 2 years ago Dormant AGPL-3.0
VPNs and proxies
16k 658 3 days ago Active MIT