/Twist

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

Primary LanguageShell

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
  • Supported IPv4 & IPv6 Environment 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

Server Requirements

  • Ubuntu 17.04(Zesty), 16.10(Yakkety), 16.04(Xenial)
  • Debian 9(Stretch) and Debian 8(Jessie)
  • CentOS 6 and 7

Set Up your Shadowsocks-libev Server

Please Run Bash Command Below on Your Server to Install Twist

sudo wget https://raw.githubusercontent.com/kissggj123/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 Ports below,It required by Shadowsocks-libev Services

UDP 443
TCP 443

Custom

Change the Default Settings from here, Manual is at Shadowsocks-libev Wiki

/etc/shadowsocks-libev/config.json

Simple Obfs

Here is the Deafult Configurations 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
obfs-host=icloud.com

Check and Change Shadowsocks-libev Status

  • Check If Shadowsocks-libev is Running on Your Server
/etc/init.d/shadowsocks status
  • Change the Status of Shadowsocks-libev by these Command
/etc/init.d/shadowsocks start  #Start Shadowsocks Service
/etc/init.d/shadowsocks stop  #Stop Shadowsocks Service
/etc/init.d/shadowsocks 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

Uninstall Twist

Please Run Bash Command to Uninstall Twist While You Once Downloaded it on Your Server

sudo twist.sh uninstall

or Uninstall by Download the Install Script Again

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

Thanks

Unbinilium -- This Project is Using OpenSource Software Shadowsocks-libev and Libsodium.