一、安装

二、配置

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]# 

 

相关文章:

  • 1970-01-01
  • 2021-10-21
  • 2021-08-15
  • 2021-04-29
  • 2022-12-23
  • 2022-01-02
  • 2021-09-21
  • 2021-04-19
猜你喜欢
  • 2022-12-23
  • 2021-11-08
  • 2022-12-23
  • 2021-05-13
  • 2021-11-01
  • 2021-12-23
相关资源
相似解决方案