Giter Club home page Giter Club logo

softether-install's Introduction

softether-install

SoftEther VPN (Development branch) install script for CentOS 7

What it does

Install SoftEther VPN on a fresh CentOS 7 VPS. Opens the necessary ports and set it as a startup service. Use GCC-7 to build

Usage

  1. Push the two Shell Scripts to your server into the same folder
  2. chmod +x softether-install.sh
  3. sudo ./softher-install.sh
  4. Reboot
  5. Check status using systemctl status softether-vpnserver
  6. Use SE-VPN Server Manager to config your VPN

Updating

su -
cd ~/SoftEtherVPN
git pull
scl enable devtoolset-7 bash
./configure
cd tmp
make
make install
reboot

Motivation

The Official installation guide is somewhat outdated and unneccessarily complicated. In particualr, an updated CentOS 7 now have firewalld enabled by default, and would reset the old iptable-based rules. Startup script is actually provided using the systemd facility, voiding the need to generate your own init script. (The provided .service file need some patch however, with a single line of sed)

Caution

  • If you use LetsEncrypt in the same server, shut down SE-Server before getting a new license or renewing. Port 443 is in conflict.
  • Client: Use OpenVPN's client. SE-Client for Windows has nasty DNS-leak issue that seems never fixed. (Actually a Windows problem)
  • This script makes use of the Development branch repo and build in Release Mode
  • This script replaces "cmake" with "cmake3" in the configure script
  • A lot of changes happened in 2018, likely break sooner or later

softether-install's People

Contributors

mavericktse avatar

Stargazers

 avatar

Watchers

 avatar  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.