shadowsocks的sslocal的使用

Table of Contents

安装python-shadowsocks

pip install shadowsocks

配置文件(config.json)

{
    "server":"ip",
    "server_port":"port",
    "local_address": "127.0.0.1",
    "local_port":1080,
    "password":"password",
    "timeout":300,
    "method":"aes-256-cfb",
    "fast_open": false,
    "workers": 1
}

运行

sslocal -c /etc/shadowsocks/config.json

启动报错

undefined symbol EVP_CIPHER_CTX_cleanup

打开openssl.py文件

vim python路径/dist-packages/shadowsocks/crypto/openssl.py

修改

把文件中的cleanup改为reset