Code Monkey home page Code Monkey logo

shadowsocks-rm's Introduction

shadowsocks-rm manyuser for shadowsocks-panel

Install

Debian / Ubuntu:

apt-get install python-pip python-m2crypto

CentOS:

yum install m2crypto python-setuptools
easy_install pip

install MySQL 5.x.x

pip install cymysql

edit config.py

Example:

import logging

#Config
MYSQL_HOST = 'localhost'
MYSQL_PORT = 3306
MYSQL_USER = 'root'
MYSQL_PASS = 'password'
MYSQL_DB = 'shadowsocks'

# Pro node 1 true , others false
PRO_NODE = 0

MANAGE_PASS = 'passwd'
#if you want manage in other server you should set this value to global ip
MANAGE_BIND_IP = '127.0.0.1'
#make sure this port is idle
MANAGE_PORT = 23333
#BIND IP
#if you want bind ipv4 and ipv6 '[::]'
#if you want bind all of ipv4 if '0.0.0.0'
#if you want bind all of if only '4.4.4.4'
SS_BIND_IP = '0.0.0.0'
SS_METHOD = 'rc4-md5'

#LOG CONFIG
LOG_ENABLE = False
LOG_LEVEL = logging.DEBUG
LOG_FILE = '/var/log/shadowsocks.log'

TestRun cd shadowsocks python servers.py not server.py

if no exception server will startup. you will see such like Example:

add: {"server_port": XXXXX, "password":"XXXXX", "method":"xxxxx"}

Database user table column

sspwd server pass

port server port

lastConnTime last keepalive time

flow_up upload transfer

flow_down download transfer (upload & download in here now)

transfer if flow_up + flow_down > transfer this server will be stop (db_transfer.py del_server_out_of_bound_safe)

shadowsocks-rm's People

Contributors

clowwindy avatar mengskysama avatar shell909090 avatar nekolab avatar sendya avatar fa08c avatar acris avatar felixonmars avatar v3aqb avatar zuoruizhi avatar htc550605125 avatar nqzhang avatar zh-liang-cn avatar humiaozuzu avatar jlund avatar xe0n0 avatar watermeter avatar sybblow avatar sky-chen avatar peterfyj avatar mitnk avatar lazybios avatar est avatar everplays avatar jackyyf avatar phuslu avatar madeye avatar kimw avatar dreampuf avatar cicku avatar

Watchers

James Cloos avatar

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.