Skip to content

Instantly share code, notes, and snippets.

@aixlx
aixlx / README.md
Created October 20, 2015 10:54 — forked from hwdsl2/.MOVED.md
IPsec L2TP VPN Auto Install Script for CentOS / RHEL 6 and 7

IPsec/L2TP VPN Auto Install Script for CentOS/RHEL

Script for automatic configuration of IPsec/L2TP VPN server on CentOS/RHEL 6 & 7 64-bit.
Works on dedicated servers or any KVM- or XEN-based Virtual Private Server (VPS).

It can also be used as the Amazon EC2 "user-data" with the official CentOS 7 AMI. Note that the official CentOS 6 AMI does NOT come with cloud-init, so you need to run this script manually after instance creation.

Alternative VPN script for Ubuntu/Debian
Original post by Thomas Sarlandie

@aixlx
aixlx / README.md
Created October 20, 2015 10:54 — forked from hwdsl2/.MOVED.md
IPsec L2TP VPN Auto Install Script for Ubuntu 14.04 & 12.04 and Debian 8