Coder Social home page Coder Social logo

setup-strong-strongswan's Introduction

Setup a Strongswan IPSec (& L2TP) Server

NOTE: This is probably securer than using https://github.com/philplckthun/setup-simple-ipsec-l2tp-vpn Furthermore it supports both L2TP and regular IPSec connections

Installation

This script doesn't need a domain or specific public IP to work.

curl -L -O https://raw.github.com/philplckthun/setup-strong-strongswan/master/setup.sh
chmod +x setup.sh
sudo ./setup.sh

The script will lead you through the installation process. If you haven't run this script before it will ask you to enter credentials for the VPN, namely:

  • a username
  • a password
  • a PSK (pre-shared key)

For upgrading Strongswan you can just run the script again. Remember to back up your custom IPSec configuration files beforehand.

Usage

This installs an init.d script. Systemd is backwards compatible to these scripts and thus you can use it to start|stop|restart the VPN server, which should also start itself automatically on startup.

Uninstallation

Download the Strongswan source and run:

make uninstall

Then uninstall xl2tpd and remove /etc/init.d/vpn-assist. That should suffice for a rather clean uninstallation.

setup-strong-strongswan's People

Contributors

kitten avatar ponychicken avatar splashx avatar missinglink avatar

Watchers

Bo Zhao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.