SSR 服务器端安装(单用户版)

Publish: November 7, 2016 Category: Shell,C/C++ No Comments

基本库安装

centos:

yum install python-setuptools && easy_install pip
yum install git

ubuntu/debian:

apt-get install python-pip
apt-get install git

获取源代码

git clone -b manyuser https://github.com/breakwa11/shadowsocks.git

执行完毕后此目录会新建一个shadowsocks目录,基本根目录的是多用户版(即数据库版),子目录中的是单用户版

  • 根目录即: ./shadowsocks

  • 子目录即: ./shadowsocks/shadowsocks


服务端配置

添加用户配置文件: /etc/shadowsocks-rss/user-config.json

{
    "server": "0.0.0.0",
    "server_ipv6": "::",
    "server_port": 8388,
    "local_address": "127.0.0.1",
    "local_port": 1080,
    "password": "123qwe",
    "timeout": 120,
    "udp_timeout": 60,
    "method": "aes-256-cfb",
    "protocol": "origin",
    "protocol_param": "",
    "obfs": "http_simple_compatible",
    "obfs_param": "",
    "dns_ipv6": false,
    "connect_verbose_info": 0,
    "redirect": "",
    "fast_open": false
}

启动 (一定要先进入单用户版本)

# cd shadowsocks/shadowsocks
# python server.py -c /etc/shadowsocks-rss/user-config.json


Tags: shadowsocks, ssr

Related Posts:

Leave a Comment