# hwdsl2/setup-ipsec-vpn

Set up your own IPsec VPN server in just a few minutes, with IPsec/L2TP, Cisco IPsec and IKEv2. Supports Ubuntu, Debian, CentOS/RHEL, Alpine Linux and Raspberry Pi OS. Includes client config and management scripts.

Repository: https://github.com/hwdsl2/setup-ipsec-vpn
Canonical: https://ross.abutalabs.com/products/setup-ipsec-vpn
Language: Shell
License: NOASSERTION
License Family: other
Topics: vpn, ipsec, l2tp, ikev2, security, vpn-server, network, vpn-client, encryption, libreswan, cisco-ipsec, linux, raspberry-pi, self-hosted, bash, debian, ubuntu, alpine-linux, installer, privacy
Last push: 2026-08-26T12:49:30+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 3891, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 28390, forks 6516 (observed 2026-08-28T04:11:48.318763+00:00)

## What it is
A set of automated shell scripts that install and configure a self-hosted IPsec VPN server (IPsec/L2TP, Cisco IPsec, and IKEv2) on Linux using Libreswan and xl2tpd. It includes client configuration generation and helper scripts for managing VPN users and certificates.

## Use cases
- set up my own ipsec vpn server on a vps
- deploy an ikev2 vpn server on ubuntu
- self-host a vpn to secure traffic on public wifi
- generate vpn profiles for ios and android clients
- manage vpn users and certificates from the command line
- install a vpn server on raspberry pi

## When to choose
- you want a fully automated, no-input VPN server install on a supported Linux distro
- you need native IPsec/IKEv2 support built into Windows, macOS, iOS, and Android clients
- you want helper scripts for user and certificate management without a control panel

## When to avoid
- you prefer WireGuard or OpenVPN instead of IPsec protocols
- you need a GUI management dashboard or multi-node VPN orchestration
- your server runs an unsupported OS or a managed environment where kernel modules/IPsec are restricted

## Facets
- artifact type: cli-tool
- maturity: active
- function: vpn, security, cryptography, networking, deployment, cli
- domain: security, privacy, networking, self-hosted, developer-tools
- platform: self-hosted, cli
- tags: ipsec, ikev2, l2tp, libreswan, vpn-server, installer-script, raspberry-pi, bash, command-line, linux, docker

## Member repositories
- hwdsl2/setup-ipsec-vpn (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:48.318763+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:54:23.226222+00:00, confidence not recorded.
  - readme: https://github.com/hwdsl2/setup-ipsec-vpn (fetched 2026-08-28T04:11:48.318763+00:00, sha 35060a9acbe3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
