Skip to content

karmishin/shadowsocks.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 

Repository files navigation

shadowsocks.sh

shadowsocks.sh is a simple shadowsocks server installer.

Some features:

  • sets up a shadowsocks-rust server
  • optionally sets up a cloak server for obfuscation (use the -c flag)
  • sets up systemd/openrc services depending on your init system
  • written in sh, designed to be portable and easy to audit
  • requires an internet connection to download ssserver and cloak binaries

Requirements

  • wget

Usage

./shadowsocks.sh [-c]

Flags:
  -c    Install Cloak (https://github.com/cbeuw/Cloak)

Quick start

SSH into your server and run the following commands (as root).

  1. Download the script:
wget https://raw.githubusercontent.com/karmishin/shadowsocks.sh/master/shadowsocks.sh
  1. Optionally examine the contents with your favorite text editor

  2. Mark as executable:

chmod +x shadowsocks.sh
  1. Run the script:
# remove the '-c' flag if you are not planning to use Cloak
./shadowsocks.sh -c

Languages