Skip to content

karmishin/shadowsocks.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 

Repository files navigation

shadowsocks.sh

shadowsocks.sh is a single-command shadowsocks installer.

  • sets up a shadowsocks-rust server
  • optionally sets up a cloak server for shadowsocks obfuscation
  • supports systemd and OpenRC

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):

# download
wget https://raw.githubusercontent.com/karmishin/shadowsocks.sh/master/shadowsocks.sh

# optionally examine the contents with your favorite text editor

# mark as executable
chmod +x shadowsocks.sh

# execute the actual script
# remove the '-c' flag if you are not planning to use Cloak
./shadowsocks.sh -c