• Hello and welcome! Register to enjoy full access and benefits:

    • Advertise in the Marketplace section for free.
    • Get more visibility with a signature link.
    • Company/website listings.
    • Ask & answer queries.
    • Much more...

    Register here or log in if you're already a member.

IPsec VPN Server Auto Setup Scripts

racklot

Newbie
Messages
5
Reaction score
0
Points
0
Balance
$0.0USD
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