All Projects → shadowsocks → Shadowsocks Manager

shadowsocks / Shadowsocks Manager

Licence: gpl-3.0
A shadowsocks manager tool for multi user and traffic control.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to Shadowsocks Manager

V2ray Rules Dat
🦄 🎃 👻 V2Ray 路由规则文件加强版,可代替 V2Ray 官方 geoip.dat 和 geosite.dat,兼容 Shadowsocks-windows、Xray-core、Trojan-Go 和 leaf。Enhanced edition of V2Ray rules dat files, compatible with Xray-core, Shadowsocks-windows, Trojan-Go and leaf.
Stars: ✭ 6,550 (+60.62%)
Mutual labels:  shadowsocks
Rabbit Tcp
A multi-connection TCP forwarder/accelerator
Stars: ✭ 368 (-90.98%)
Mutual labels:  shadowsocks
Freepac
科学上网/翻墙梯子/自由上网/SS/SSR/V2Ray/Brook 搭建教程 免费机场、VPN工具
Stars: ✭ 4,515 (+10.72%)
Mutual labels:  shadowsocks
Free Ssr V2ray Vpn
ssr/酸酸乳/v2ray/shadowsocks节点/vpn/机场搬运分享
Stars: ✭ 330 (-91.91%)
Mutual labels:  shadowsocks
Nekox
The third-party Telegram android app.
Stars: ✭ 333 (-91.83%)
Mutual labels:  shadowsocks
Ssr Accounts
V2Ray, 免费V2Ray账号分享, 翻墙,无界, 自由门, SquirrelVPN, SS账号, 机场
Stars: ✭ 3,854 (-5.49%)
Mutual labels:  shadowsocks
Ss Fly
一键脚本搭建ss/ssr并开启bbr内核加速(Ubuntu/CentOS/Debian)
Stars: ✭ 304 (-92.55%)
Mutual labels:  shadowsocks
Openwrt Fanqiang
最好的路由器翻墙、科学上网教程—OpenWrt—shadowsocks
Stars: ✭ 3,894 (-4.51%)
Mutual labels:  shadowsocks
Asuswrt Merlin Transparent Proxy
transparent proxy base on ss, v2ray, ipset, iptables, chinadns on asuswrt merlin.
Stars: ✭ 367 (-91%)
Mutual labels:  shadowsocks
Shadowsocksx Ng R
ShadowsocksX-NG-R: Shadowsocks(R) Client for MacOS
Stars: ✭ 393 (-90.36%)
Mutual labels:  shadowsocks
Lightsocks
⚡️一个轻巧的网络混淆代理🌏
Stars: ✭ 3,714 (-8.93%)
Mutual labels:  shadowsocks
Free Ss Ssr
SS账号、SSR账号、V2Ray账号
Stars: ✭ 3,557 (-12.78%)
Mutual labels:  shadowsocks
Announcement
Stars: ✭ 391 (-90.41%)
Mutual labels:  shadowsocks
Love Gfw
🔥以社会主义核心价值观为指导思想,实现 Linux 和 MacOS 设备的全局智能分流
Stars: ✭ 329 (-91.93%)
Mutual labels:  shadowsocks
Clashxr
A rule based custom proxy with GUI for Mac base on clash.
Stars: ✭ 405 (-90.07%)
Mutual labels:  shadowsocks
Shadowsocks
与 ShadowSocks 有关的教程、文件等
Stars: ✭ 311 (-92.37%)
Mutual labels:  shadowsocks
Xray Core
Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support. Fully compatible configuration.
Stars: ✭ 6,908 (+69.4%)
Mutual labels:  shadowsocks
Xkcptun
xkcptun is kcp tunnel for OpenWRT&LEDE, implemented in c language
Stars: ✭ 419 (-89.73%)
Mutual labels:  shadowsocks
Shadowsocks Share
示例站点
Stars: ✭ 406 (-90.04%)
Mutual labels:  shadowsocks
Outline Server
Outline Manager, developed by Jigsaw. The Outline Manager application creates and manages Outline servers, powered by Shadowsocks. It uses the Electron framework to offer support for Windows, macOS and Linux.
Stars: ✭ 4,102 (+0.59%)
Mutual labels:  shadowsocks

NPM version npm license

shadowsocks-manager

A shadowsocks manager tool for multi user and traffic control.
Base on Node.js and SQLite.

For more details, you can see docs.

If you want to use the old version, please switch to this branch.

WebGUI Demo:

https://app.3840x2160.work

FreeAccount Demo:

https://free.gyteng.com

Dependencies

  • Node.js 12.*
  • Redis

Install

From source:

git clone https://github.com/shadowsocks/shadowsocks-manager.git
cd shadowsocks-manager
npm i

use node server.js to run this program.

From npm:

npm i -g shadowsocks-manager

You may need to use the --unsafe-perm flag if you receive an permission error

npm i -g shadowsocks-manager --unsafe-perm

use ssmgr to run this program.

From docker:

docker run --name ssmgr -idt -v ~/.ssmgr:/root/.ssmgr --net=host gyteng/ssmgr [ssmgr params...]

Build docker image:

here is the Dockerfile

FROM ubuntu:18.04
MAINTAINER gyteng <[email protected]>
RUN apt-get update && \
    export DEBIAN_FRONTEND=noninteractive && \
    apt-get install tzdata iproute2 curl git sudo software-properties-common python-pip -y && \
    pip install git+https://github.com/shadowsocks/shadowsocks.git@master && \
    curl -sL https://deb.nodesource.com/setup_8.x | bash - && \
    apt-get install -y nodejs shadowsocks-libev && \
    npm i -g shadowsocks-manager --unsafe-perm && \
    echo "Asia/Shanghai" > /etc/timezone && \
    rm /etc/localtime && \
    dpkg-reconfigure -f noninteractive tzdata
CMD ["/usr/bin/ssmgr"]

Usage

  1. Start shadowsocks with manager API, it supports shadowsocks-python and shadowsocks-libev. For example, you can run this command:
ss-manager -m aes-256-cfb -u --manager-address 127.0.0.1:6001
 or
ssserver -m aes-256-cfb -p 12345 -k abcedf --manager-address 127.0.0.1:6001
  1. run ssmgr with type s:

config file:

type: s

shadowsocks:
  address: 127.0.0.1:6001
manager:
  address: 0.0.0.0:4001
  password: '123456'
db: 'ss.sqlite'

If you want to use MySQL, the db must like this:

db:
  host: '1.1.1.1'
  user: 'root'
  password: 'abcdefg'
  database: 'ssmgr'

And you have to close only_full_group_by when the version of MySQL is greater than 5.7

command:
ssmgr -c /your/config/file/path.yml

  1. If you have several servers, you have to run step 1 and step 2 in every server.
    The listening address in --manager-address of step 1 and in shadowsocks -> address of step 2's config file must be same. For security reseon, we recommend you to use 127.0.0.1 instead of 0.0.0.0.
  2. Now you can use the plugins to manage them. You can read the details in plugins readme page.
+-------------+    +-------------+       +------+
| Shadowsocks |    | Shadowsocks |  ...  |      |
| manager API |    | manager API |       |      |
+-------------+    +-------------+       +------+
       |                 |                  |
       |                 |                  |
+-------------+    +-------------+       +------+
| ssmgr       |    | ssmgr       |  ...  |      |
| with type s |    | with type s |       |      |
+-------------+    +-------------+       +------+
       |                 |                  |
       +------------+----+--------  ...  ---+
                    |
                    |
             +---------------+
             | ssmgr plugins |
             |  with type m  |
             +---------------+

Plugins

telegram
freeAccount
webgui

Parameter

ssmgr --help will show startup parameters info.

Usage: ssmgr [options]

  Options:

    -h, --help                   output usage information
    -V, --version                output the version number
    -c, --config [file]          config file, default: ~/.ssmgr/default.yml
    -d, --db [file]              sqlite3 file, sample: ~/.ssmgr/db.sqlite
    -t, --type [type]            type, s for server side, m for manager side
    -s, --shadowsocks [address]  ss-manager address, sample: 127.0.0.1:6001
    -m, --manager [address]      manager address, sample: 0.0.0.0:6002
    -p, --password [password]    manager password, both server side and manager side must be equals
    -r, --run [type]             run shadowsocks from child_process, sample: libev / libev:aes-256-cfb / python / python:aes-256-cfb
    --debug                      show debug message

First, ssmgr will read the config file in --config, and other parameters(-detsmp) will replace the config file values.

Translate

If your want to help to translate it to other languages, please edit files here and give me a pull request.

Telegram Group

Join the group if you have some problem: https://t.me/ssmgr

VPS recommendation

Donate

If you find this project helpful, please consider making a donation:

  • Alipay

  • WeChat Pay

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].