Using SSR on Linux easily.
Branch: manyuser
Clone or download
Pull request Compare This branch is 7 commits ahead of SSRbackup:manyuser.
Latest commit 4d84ac8 Sep 25, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
debian * still package issue Aug 25, 2014
shadowsocks bump Jul 27, 2017
tests fix test_command Nov 1, 2015
utils merge master Jul 14, 2015
.gitignore Update .gitignore Jan 7, 2017
.travis.yml fix READEME and travis url Nov 1, 2015
CHANGES bump Jul 27, 2017
CONTRIBUTING.md
Dockerfile fix default work Jun 22, 2017
LICENSE license under Apache License v2.0 Feb 3, 2015
MANIFEST.in fix MANIFEST.in Jan 21, 2015
README.md
README.rst license under Apache License v2.0 Feb 3, 2015
apiconfig.py add interface legendsockssr Apr 30, 2017
asyncmgr.py fix handle_event Aug 11, 2015
config.json
configloader.py compatible python3 Jun 21, 2016
db_transfer.py not filter mu port Jul 16, 2017
importloader.py fix reload module Jul 9, 2016
initcfg.bat Add initcfg.bat for windows Jan 7, 2017
initcfg.sh chmod +x May 4, 2017
initmudbjson.sh fix initmudbjson.sh, remove LRUCache init log Jul 12, 2017
logrun.sh
mudb.json generate random password Jun 24, 2016
mujson_mgr.py update mujson_mgr.py usage info Jun 18, 2017
mysql.json set default node id to 0 and default db to "sspanel" Aug 21, 2016
run.sh
runssr Add the automatic shell script ✔️ Dec 2, 2017
server.py Use thread.join() instead (shadowsocks#219) Apr 14, 2017
server_pool.py
setup.py add shadowsocks.obfsplugin to setup.py for distribution Jul 28, 2016
setup_cymysql.sh add cymysql setup script May 8, 2017
stop.sh fix stop script May 12, 2017
stopssr Add the automatic shell script ✔️ Dec 2, 2017
switchrule.py using mysql.json to config mysql Jul 21, 2016
tail.sh chmod +x May 4, 2017

README.md

ShadowsocksR

Build Status [中文]

A fast tunnel proxy that helps you bypass firewalls.

Usage

Clone or download project

~ $ git clone https://github.com/showzeng/shadowsocksr

Usage for single user on linux platform

Fill in your configuration file (shadowsocksr/config.json):

{
    "server": "0.0.0.0",
    "server_ipv6": "::",
    "server_port": 8388,
    "local_address": "127.0.0.1",
    "local_port": 1080,

    "password": "m",
    "method": "aes-128-ctr",
    "protocol": "auth_aes128_md5",
    "protocol_param": "",
    "obfs": "tls1.2_ticket_auth_compatible",
    "obfs_param": "",
    "speed_limit_per_con": 0,
    "speed_limit_per_user": 0,

    "additional_ports" : {},
    "additional_ports_only" : false,
    "timeout": 120,
    "udp_timeout": 60,
    "dns_ipv6": false,
    "connect_verbose_info": 0,
    "redirect": "",
    "fast_open": false
}

You need config your configuration with these items:

{
    "server": "0.0.0.0",
    "server_port": 8388,

    "password": "m",
    "method": "aes-128-ctr",
    "protocol": "auth_aes128_md5",
    "obfs": "tls1.2_ticket_auth_compatible",
}

Then turn on your terminal and get into "shadowsocksr/" folder. Excute the command as below:

~/shadowsocksr [manyuser] $ chmod 755 runssr stopssr

~/shadowsocksr [manyuser] $ sudo mv runssr stopssr /usr/local/bin
[sudo] password for xxxx: 

~/shadowsocksr [manyuser] $ ../

~ $ sudo mv shadowsocksr/ /opt/

~ $ source /etc/profile

Once done with that, you can turn on/off shadowsocksR with these simple command at anytime as you wish :p , such as you just open your computer.

Turn on SSR

~ $ runssr

Turn off SSR

~ $ stopssr

Documentation

You can find all the documentation in the Wiki.

License

Copyright 2015 clowwindy

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Bugs and Issues