Coder Social home page Coder Social logo

nibenjic / twist Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kissggj123/twist

0.0 1.0 0.0 320 KB

A Light Script For You To Setup Shadowsocks-libev Server with High-Speed Connections

Home Page: https://unbinilium.github.io/Twist

Shell 100.00%

twist's Introduction

A Light Script For You To Setup Shadowsocks-libev Server with High-Speed Connections

Twist Features

  • Fast, Secured and Stable Connections
  • Multithreading Support
  • TCP Fast Open Support
  • Simple Obfs Support
  • IPv4 & IPv6 Environment Supported and Connections
  • Optimised Performance Using Google BBR TCP Controler and Supported UDP Transfer
  • High Security Supported AEAD Auth & Encryption
  • Fine Compatibility and Support Original Shadowsocks Client
  • One-key Installation and One-key Setup on your Devices
  • SS Scheme & QRCode Login Information Auto Generate
  • Highly Concealed Fake as a WebServer using Apache and Enabled Fail2ban to Ban Force Crackers

Server Requirements

  • Ubuntu 17.10(Artful Aardvark), 17.04(Zesty), 16.10(Yakkety), 16.04(Xenial)
  • Debian 9(Stretch), 8(Jessie)
  • Cent OS 7, 6
  • Red Hat 7, 6
  • Fedora 26, 25
  • Arch Linux
  • Raspbian

Set Up your Shadowsocks-libev Server

Please Run Bash Command Below on Your Server to Install Twist

sudo wget https://raw.githubusercontent.com/Unbinilium/Twist/master/twist -O twist.sh && chmod -x twist.sh && bash twist.sh

Attention

Please make sure that Your Server was able to Connect to the Internet And Opened these Inboard Ports below,It required by Shadowsocks-libev Services. It will be Automatically Configured on Your Server but not on the Server Management Console

UDP 443
TCP 443

Custom

Change the Default Settings by Editing Twish before install, Manual of Shadowsocks-libev Configurations is at Shadowsocks-libev Wiki

sudo nano twist.sh       # Edit the value below on 'function *config'

If you have already Installed Twist, Try this by Editing Shadowsocks Config File that Installed on your Server Instead the Install Script

sudo twist custom  # Edit the value in json format

Edit Values in Value="HERE", Save and Run Twist after You have Confirmed it is Correct

 PORT="443"                       # Server port
 LOACL="127.0.0.1"                # The address that server listens
 LOCALPORT="1080"                 # Local port of loacl address that server listens
 PASSWORD=""                      # Password used for encryption, auto generate if left free 
 DNS="8.8.8.8"                    # Default DNS server address of Google Public DNS
 TIMEOUT="600"                    # Drop connections if it not using in seconds
 METHOD="chacha20-ietf-poly1305"  # Encryption, AEAD is better than OTA
 OBFS="tls"                       # Obfs method using tls or http
 OBFSHOST="mzstatic.com"          # Obfs host address
 WORKERS="1024"                   # Workers using, larger provides faster speed but less memory
 BBR="enable"                     # Google BBR for low delay network to get faster speed
 FWS="enable"                     # Fake as a apache web server for concealing
 ABB="enable"                     # Uses Fail2ban to ban force crackers

Simple Obfs

Here is the Deafult Configuration of Simple Obfs, Simple Obfs will not be Running without Configure it on Your Clients Manually. And You Can also Use Shadowsocks without Set Up Simple Obfs on Your Clients. If You Use Schemes or QR Code Configurations on Your Clients, Simple Obfs will not be Configured

OBFS="tls"
OBFSHOST="mzstatic.com"

Check and Change Shadowsocks-libev Status

  • Check If Shadowsocks-libev is Running on Your Server
twist status        # Check Shadowsocks status
  • Change the Status of Shadowsocks-libev by these Command
sudo twist start    # Start Shadowsocks Service
sudo twist stop     # Stop Shadowsocks Service
sudo twist restart  # Restart Shadowsocks Service

Setup Shadowsocks-libev for Connect on your Devices

It is Required a Shadowsocks Client on Your Device for Manually Set up or Use URL-Scheme & QRCode in Shadowsocks Client Apps

Update Twist

Please Run Bash Command to Update Twist

sudo twist update

Uninstall Twist

Please Run Bash Command to Uninstall Twist

sudo twist uninstall

Author

Unbinilium -- This Script is Using OpenSource Software Shadowsocks-libev

twist's People

Contributors

unbinilium avatar

Watchers

 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.