Giter Site home page Giter Site logo

loyess / 2022 Goto Github PK

View Code? Open in Web Editor NEW
69.0 1.0 16.0 37 KB

One-click install shadowsocks-rust supports 2022 cipher.

License: GNU General Public License v3.0

Shell 100.00%
shadowsocks-rust 2022-blake3-aes-128-gcm 2022-blake3-aes-256-gcm 2022-blake3-chacha20-poly1305

2022's Introduction

2022script.sh

Installation

curl -OL https://github.com/loyess/2022/raw/main/2022script.sh
chmod +x 2022script.sh
./2022script.sh

Specify path install

curl -OL https://github.com/loyess/2022/raw/main/2022script.sh
chmod +x 2022script.sh
./2022script.sh --specifypi /etc/ss-rust

Uninstall

./2022script.sh --remove

Env variables

# Specify shadowsocks-rust install path
export SSRUST_ROOT_DIR='/etc/rustss2022'

# Specify shadowsocks-rust install version
export SSRUST_VERSION='1.15.0-alpha.5'

Note: Env variables are specified before the script is run. eg: export SSRUST_ROOT_DIR='/etc/rustss2022' && ./2022script.sh If the SSRUST_ROOT_DIR path is not specified, it will be installed in the rustss2022 directory under the current path.

Encryption method

Shadowsocks-rust Ciphers: 

  1. none
  2. plain
  3. aes-256-gcm
  4. aes-128-gcm
  5. chacha20-ietf-poly1305
  6. 2022-blake3-aes-128-gcm
  7. 2022-blake3-aes-256-gcm
  8. 2022-blake3-chacha20-poly1305

Please select an encryption method (deafult: 2022-blake3-aes-128-gcm):

Help information

root@debian:~# ./2022script.sh -h
 ____   ___ ____  ____    ____            _       _   
|___ \ / _ \___ \|___ \  / ___|  ___ _ __(_)_ __ | |_ 
  __) | | | |__) | __) | \___ \ / __| '__| | '_ \| __|
 / __/| |_| / __/ / __/   ___) | (__| |  | | |_) | |_ 
|_____|\___/_____|_____| |____/ \___|_|  |_| .__/ \__|
                                           |_|        

Usage: 
  ./2022script.sh [OPTIONS...] [ARGS...]

Options: 
  -i  --install            Install ss-rust
  -r  --remove             Remove ss-rust
  -f  --cover              Cover install ss-rust
  -p  --specifypi          Specify path install ss-rust
  -u  --update-script      Update script
  -l  --log                Show log information
  -c  --config             Show config information
  -s  --url-scheme         Show url-scheme information
  -st --start              Start ss-rust
  -sp --stop               Stop ss-rust
  -rt --restart            Restart ss-rust
  -ss --status             Show ss-rust status
  -b  --bbr                Enable bbr
  -fw --firewall           Config firewall manual mode
  -v  --version            Show script version number
  -h  --help               Show this help

Source: https://github.com/loyess/2022
BBR-Source: https://github.com/teddysun/across

About firewall

This script only simply handles the firewall settings. If you can't connect to the server after installation, please open the port yourself.

Note: Only Linux servers with architectures amd64|x86_64 and armv8|aarch64 launched by the Systemd management application are supported.

Links

2022's People

Contributors

loyess avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

2022's Issues

ssservice bug?

The download speed reaches zero after a few minutes, and to fix it, I have to use the ./2022script.sh -rt command.

Server_address

Hello, i would thank you for providing this script. i can see that the script automatically usses my public ip address for the server address. im installing it at home so i can vpn into my home while im away.also where i am isp's tend to bloack vpns thats why im looking for a socks 5 proxy. is it possible to use DDNS instead of public ip?
thank you

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.