hwdsl2/docker-ipsec-vpn-server

Docker image to run an IPsec VPN server, with IPsec/L2TP, Cisco IPsec and IKEv2. Auto-generates server config and supports VPN client setup on Linux,...

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 22 minutes ago
Added to GitGenius on September 9th, 2026
Created on May 20th, 2016
Open Issues & Pull Requests: 0 (+0)
GitHub issues: Enabled
Number of forks: 1,466
Total Stargazers: 7,128 (+0)
Total Subscribers: 115 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.1 hours
Mean response time: 5.7 hours
90th percentile: 14.2 hours
Tracked items: 48

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 12% of issues opened in the past year have been closed. Three people close 100% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 0
New in 7 days: 0
Closed in 7 days: 0
Avg open age: N/A days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

docker-ipsec-vpn-server is a Docker image that runs an IPsec VPN server supporting IPsec/L2TP, Cisco IPsec, and IKEv2 protocols.

The tool addresses the need to encrypt network traffic and protect data from eavesdropping on unsecured networks. It runs on Alpine or Debian with Libreswan for IPsec and xl2tpd for L2TP support. On first start, it automatically generates VPN credentials and IKEv2 configuration, eliminating manual setup. The image supports multiple VPN protocols simultaneously, allowing clients to choose their preferred connection method. It can generate VPN profiles for iOS, macOS, and Android devices to enable automatic client configuration.

Adoption suits developers and system administrators who need a self-hosted VPN server with minimal configuration overhead. The tool works on Linux servers with a public IP address or DNS name and requires only Docker and open firewall ports for UDP 500 and 4500. It supports a wide range of client platforms including Windows, macOS, iOS, Android, Chrome OS, and Linux. The image runs on multiple architectures including amd64, arm64, and armv7, making it suitable for standard servers and Raspberry Pi deployments. Advanced users can also run it with Podman as an alternative to Docker. The README notes that Docker for Windows is not supported, and macOS users may need to restart the container once for IPsec/L2TP mode.

The project maintains automated builds and publishing through GitHub Actions, ensuring the image stays current. A helper script is included for managing IKEv2 users and certificates after deployment. Persistent data is stored via Docker volumes, allowing configuration and credentials to survive container restarts. The tool includes documentation in multiple languages and provides a quick-start command for immediate deployment.