Skip to content

Latest commit

 

History

History
108 lines (86 loc) · 2.2 KB

README.md

File metadata and controls

108 lines (86 loc) · 2.2 KB

shadowsocks

PyPI version Downloads Downloads

A fast tunnel proxy that helps you bypass firewalls.

Main focus on shadowsocks client

Features:

  • TCP & UDP support
  • User management API
  • TCP Fast Open
  • Workers and graceful restart
  • Destination IP blacklist

Client

Install

Debian / Ubuntu:

apt install python3-pip libcrypto++-dev
pip3 install shadowsocks-pro

Usage

sslocal -c config.json

Config.json example

{
    "server": "example.shadowsocks.org",
    "server_port": 8388,
    "password": "u1rRWTssNv0p",
    "method": "aes-256-cfb",
    "timeout":400,
    "local_address": "127.0.0.1",
    "local_port":1080
 }

Tutorial

Watch Here

Server

Install

Debian / Ubuntu:

    apt install python3-pip libcrypto++-dev
    pip install shadowsocks-pro

CentOS:

    yum install python-setuptools && easy_install pip
    pip install shadowsocks-pro

Windows:

See Install Shadowsocks Server on Windows.

Usage

ssserver -p 443 -k password -m aes-256-cfb

To run in the background:

sudo ssserver -p 443 -k password -m aes-256-cfb --user nobody -d start

To stop:

sudo ssserver -d stop

To check the log:

sudo less /var/log/shadowsocks.log

Check all the options via -h. You can also use a [Configuration] file instead.

Usage with Config File

Create configeration file and run

To start:

ssserver -c /etc/shadowsocks.json

Documentation

You can find all the documentation in the Wiki.

License

MIT License