一、安装

二、配置

vi /etc/shadowsocks.json

{
    "server":"x.x.x.x",
    "server_port":8388,
    "local_port":1080,
    "password":"yourpasswd",
    "timeout":600,
    "method":"aes-256-cfb"
}

三、启动

[root@thatsit polipo]# sslocal -c /etc/shadowsocks.json -d start
INFO: loading config from /etc/shadowsocks.json
2017-02-28 23:06:48 INFO loading libcrypto from libcrypto.so.10
started
[root@thatsit polipo]#

启动之后,本地会监听一个tcp的1080端口和一个udp的1080端口

四、检查

[root@thatsit polipo]# ss -lntup|grep sslocal
udp UNCONN 0 0 127.0.0.1:1080 *:* users:(("sslocal",24079,5))
tcp LISTEN 0 128 127.0.0.1:1080 *:* users:(("sslocal",24079,4))
[root@thatsit polipo]# 

 

posted on 2018-03-19 15:50  芒果-Vic  阅读(618)  评论(0编辑  收藏  举报