IPsec VPN Server Auto Setup Scripts

racklot

Newbie
Hey guys

So the other day I needed a VPN on the fly, so I fired up a VPS and I found this neat script that does all the config for you. Perhaps someone here finds it useful!

First, prepare your Linux server* with a fresh install of Ubuntu LTS, Debian or CentOS.

Use this one-liner to set up an IPsec VPN server:

Code:
wget https://git.io/vpnsetup -O vpnsetup.sh && sudo sh vpnsetup.sh

If using CentOS, replace the link above with
Code:
https://git.io/vpnsetup-centos

Your VPN login details will be randomly generated, and displayed on the screen when finished.

For other installation options and how to set up VPN clients, read the sections below.

* A dedicated server or virtual private server (VPS). OpenVZ VPS is not supported.
 
Top