AutomationSecurity and privacy

setup-ipsec-vpn

Automatically deploy IPsec/L2TP, Cisco IPsec, and IKEv2 on a Linux server.

Stars
28,184
Forks
6,510
License
Custom / other
Updated
Updated Jul 14, 2026

Checking live repository facts…

Project overview

setup-ipsec-vpn installs a Libreswan and xl2tpd VPN server on supported Linux cloud instances, VPSs, dedicated hosts, and Raspberry Pi systems. It configures IPsec/L2TP, Cisco IPsec, and IKEv2, generates profiles for common mobile devices, and includes scripts for users and certificates. You still need a suitable server and must allow UDP ports 500 and 4500 through any external firewall.

Repository facts

Primary language
Shell
License
Custom / other
Repository updated
Jul 14, 2026
Default branch
master

Resource types

Automation

Use cases

Security and privacy

Runtime

Command lineSelf-hosted

Related projects

Browse more similar projects